Show us the line of code that sets the cookie.

-----Original Message-----
From: Jennifer Perkins [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 5:49 PM
To: CF-Talk
Subject: Cookie disappears when browser closes!


I'm having a problem with a cookie I've set for a client's site. Server is
CF5, and there is no cflocation tag on the page anywhere, so that's not an
issue.

When a user votes in a poll on the site's homepage, I set a cookie. The
homepage will then display the results of the poll instead of the poll
itself, to prevent users from voting mutliple times in a poll. The cookie is
just fine after it's set...until I close the browser window. Then it
disappears. I can navigate around the site, to other sites, etc., no
problem - it only goes away when the browser window is closed.

I've tried setting the "domain" attribute for the tag, but that did not
affect anything. The "expires" attribute is currently set to "12/31/2020"
although I had it set to "never" before, and that didn't work either.

I've lowered my privacy settings on MSIE to "low", thinking it might be an
issue with my browser (previously set at "medium") but that doesn't help
either.

Any ideas?


Jen Perkins
Macromedia Certified ColdFusion Developer
Carol/Trevelyan Strategy Group
http://www.ctsg.com/

Kumbaya, Dammit!
http://www.kumbayadammit.com/



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to