View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Redirect based on cookie value

Thread began 9/21/2009 10:59 am by hirshj389512 | Last modified 9/22/2009 4:03 pm by hirshj389512 | 4661 views | 10 replies


Documentation a little week

Ok in the last 24 hours I have recreated your example which does work

The documentation provided on the web site is useless. The tip you provided on the body helped

this is what i finally did

In Dreamweaver CS 4
create php page
add form in body (Insert -> Form)
change method = post
name "your form"
add form ID in properties
add form label (Insert->form->Label)
add checkbox inside value tag)Insert->Form->checkbox
Leave Type checkbox
Set Name "urcheckbox"
Set Value "urcheckbox"
add form value tag (Insert ->Form -> Label)
add button (Insert ->Form -> Button)
chnage type to submit
set value = submit
Higlight the button
use properties to add id "submit"
select form up to first label
use behaviors
From the Server Behaviors panel, choose Add.
Choose WA Cookies Toolkit > Set Cookie Value. OnSubmit
enter cookie name ("urchoice")
select body
goto behaviors
Choose WA Cookies Toolkit > Redirect Basedon cookie
select cookie (name as in above)
set cookie value to true
set destination

its done

The on line documentation indicated that there was no problem if you didn't have a form
not necessaryily true..

You said that you assumed that cookie was already made... if so you don't get the code you generated

the cookie is apparently created when value is first set

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





Ease of use


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...