Try adding the expires="NOW" attribute to the call.

<cfcookie name="cfid" value="#cookie.cfid#" expires="NOW">

Russel

> -----Original Message-----
> From: Todd [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 21, 2002 9: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
> 
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
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