Not sure if this is what you're looking for, but hope it helps.

I'm not sure how they are distinguishing between session vs hard 
drive cookies, but here's how we force cfid and cftoken cookies to 
expire when the browser is closed, thus the cookies are never 
written to the hard drive.  This seems to work just fine in both 
Netscape and IE.   You can use this same logic for any cookie you 
set. 

<cfif isdefined("Cookie.CFID") and isdefined("Cookie.CFTOKEN")>
        <cfset cfid_local = cookie.cfid>
        <cfset cftoken_local = cookie.cftoken >
        <cfcookie name="CFID" value="#CFID_LOCAL#" >
        <cfcookie name="CFTOKEN" value="#CFTOKEN_LOCAL#" >
</cfif>

The id and token cookies are reset without an expiration. This 
forces an expiration when the browser closes.  




------------------------------------
Clint R. Tillerson
Meteorologist/Programmer
Pacific Environmental Services, Inc.
5001 South Miami Blvd.
PO Box 12077
RTP, NC  27709
(919) 941-0333
Fax: (919) 941-0234
------------------------------------
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to