You can delete the CFID and CFTOKEN cookies w/ javascript in unload() in the
body tag.

- j

-----Original Message-----
From: Todd [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 10:58 AM
To: CF-Talk
Subject: Fw: The trouble with cookies ...


Is that I can't get them to expire when the browser is closed.

I've got this code:

<cfif IsDefined("Cookie.CFID") AND IsDefined("Cookie.CFTOKEN")>
    <cfcookie name="cfid" value="#cookie.cfid#">
    <cfcookie name="cftoken" value="#cookie.cftoken#">
</cfif>

but it doesn't seem to do anything.  I close my browser, open it back up,
and am still able to read the cookies.

Any suggestions?

Todd

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to