<CFIF IsDefined("Client.CFTOKEN") OR IsDefined("Client.CFID")>
<CFSET DeleteClientVariable("CFTOKEN")>
<CFSET DeleteClientVariable("CFID")>
</CFIF>
<CFIF IsDefined("Session.CFTOKEN") OR IsDefined("Session.CFID")>
<CFSET StructDelete(Session, "CFTOKEN")>
<CFSET StructDelete(Session, "CFID")>
</CFIF>
<CFIF IsDefined("Cookie.CFTOKEN") OR IsDefined("Cookie.CFID")>
<CFCOOKIE NAME="CFTOKEN" EXPIRES="NOW">
<CFCOOKIE NAME="CFID" EXPIRES="NOW">
</CFIF>
"Success is a journey, not a destination!!"
Doug Brown
----- Original Message -----
From: "Dave Watts" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 20, 2002 4:23 PM
Subject: RE: RE: deleting session variables when browser is closed
> > The cfid and cftoken are stored in the session struct however
> > (but I don't know what they are doing there...).
>
> CF has to store the CFID and CFTOKEN values, and compare them against those
> received from the browser to determine if those are your session variables.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> voice: (202) 797-5496
> fax: (202) 797-5444
>
>
______________________________________________________________________
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