Am I doing something wrong?
I put the following code in my CFAPPLICATION tag but am still able to close
the browser, reopen the browser, and see the values of my session variables
as they were set prior to closing the browser:
<cfapplication name="fusebox_version"
applicationtimeout="#createtimespan(0,1,0,0)#" clientmanagement="Yes"
sessiontimeout="#createtimespan(0,0,20,0)#">
<cfif isDefined("Cookie.CFID") AND isDefined("Cookie.CFTOKEN")>
<cfset localCFID = Cookie.CFID>
<cfset localCFTOKEN = Cookie.CFTOKEN>
<cfcookie name="CFID" value="#localCFID#">
<cfcookie name="CFTOKEN" value="#localCFTOKEN#">
</cfif>
M
-----Original Message-----
From: Stover, John [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 2:56 PM
To: CF-Talk
Subject: RE: Get rid of session variables when browser closes
Thanks, Hal!
<cfif isDefined("Cookie.CFID") AND isDefined("Cookie.CFTOKEN")>
<cfset localCFID = Cookie.CFID>
<cfset localCFTOKEN = Cookie.CFTOKEN>
<cfcookie name="CFID" value="#localCFID#">
<cfcookie name="CFTOKEN" value="#localCFTOKEN#">
</cfif>
?
--
Critz
Certified Advanced Bald White Barefoot ColdFusion Developer
Crit[s2k] - <CF_ChannelOP Network="Efnet" Channel="ColdFusion">
------------------------------------
Monday, July 15, 2002, 2:39:17 PM, you wrote:
HM> I am working on a project where it is essential all session
variables are
HM> killed when the browser closes.
HM> What starategies are others using to make this happen? what I am
considering
HM> is a javascript solution that loads a new page when the window
closes.
HM> Obviously, this is not bulletproof...
HM> M
______________________________________________________________________
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