22972 Posts in 11596 Topics by 2824 members
|Go to End|
21 February 2010 at 3:30pm Last edited: 21 February 2010 3:35pm
I'm not sure about what I need here or how to really ask the question...
I am setting a cookie (sneAlertCookie) to allow a visitor to a second page, but only one time. If they return to this second page, they are brought to another page - this is all working.
I have an alert box on the first page for first time visitors. If they travel to the second page (above) a cookie is set on their computer. If they leave and return to this second page, the system redirects them to the page of my choice. Again all working.
If a visitor comes back to the site on the first page (the one with the alert box), I want to get a value from their cookie and use it on this page to in an IF to turn the alert off.
var value == sneAlertCookie; //from client cookie - does it exist
<% if sneAlertCookie == value %>
Anyone with some great knowledge offer some ideas and help here?
|Go to Top|