you need to load a subsequent page before the action takes effect. so use
the same NAME, VALUE="", EXPIRES="NOW" and place a link to a page that
outputs the cookie. you should see it's null or doesn't exist (one of those
things should happen). if it doesn't something else is up. also, i've had
problems where i have to refresh the page that deletes the cookie, so you
*might* need some cache control as well. and you might not.

let me know what happens...



-----Original Message-----
From: Nathan Chen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 4:30 PM
To: CF-Talk
Subject: deleting cookie


Hi All:

Does anybody know how to delete a cookie without closing the browser?
The method mentioned in ColdFusion manual(<cfcookie name="..."
value="..." expires="now">) doesn't do the work; it deletes the cookie
only when the user closes the browser, but I want to delete it without
closing it.  Any idea?  Thanks.

Nathan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to