close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Redirect using Cookie value

Thread began 6/19/2014 9:30 am by Andrew Dodd - ADDIGITAL | Last modified 6/21/2014 9:20 am by Jason Byrnes | 1844 views | 13 replies |

Andrew Dodd - ADDIGITAL

Redirect using Cookie value

Hi all,

I am trying to redirect a user to a registered page if a cookie is set, but for the life of me, I can't get it to work.

I've attached the onload behaviour to the body tag to check and the set cookie behaviour to the form later on in the page, and I thought I'd cracked it. But it still doesn't work.

I know there was a discussion about this way back in 2009, but things have changed dramatically since then.

The page is at http://www.simplyfetes.com - can another pair of eyes see what I can't?

Thanks
Andrew

Attached Files
index.php
Sign in to reply to this post

Jason ByrnesWebAssist

add the following script tag to the page:
<script src="webassist/cookies/cookies.js"></script>

Sign in to reply to this post

Andrew Dodd - ADDIGITAL

Thanks Jason! I knew it would be something simple!

Andrew

Sign in to reply to this post

Jason ByrnesWebAssist

You're welcome, I have logged a bug that the script is not being added.

Sign in to reply to this post

Andrew Dodd - ADDIGITAL

Hi Jason,

Slightly off topic, but now that we've fixed this, my server validations have stopped working. The name is required etc - the validation ShowIf aren't firing either.

Can you help?

I attach updated index.php.

Sorry to be a pain!

Andrew

Attached Files
index.php
Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

Andrew Dodd - ADDIGITAL

Info moved to PM

Sign in to reply to this post

Jason ByrnesWebAssist

you have multiple instances of the server validation server behavior.

there should be only one instance of the server validation server behavior on the page, with all of the validations defined in the one server behavior.


you should remove the server validation and validation show if behaviors from the page, then recreate them using only one server validation server behavior.

Sign in to reply to this post

Andrew Dodd - ADDIGITAL

See PM

Sign in to reply to this post

Jason ByrnesWebAssist

No Worries Andrew

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...