application.cfm

Nick Texidor <[EMAIL PROTECTED]> wrote:
Thanks for the code Alex....

Where does this code go?



> From: Alex <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Thu, 22 Feb 2001 12:31:38 CST
> To: CF-Talk <[EMAIL PROTECTED]>
> Subject: Re: [End session on browser close]
> 
> <!---Kill Session on Browser Close--->
> <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>
> 
> 
> "David Berger" <[EMAIL PROTECTED]> wrote:
> How can you kill the session when the browser is closed, or the user leaves
> your site?
> 
> (In ASP, the session ends when you close the browser)
> 
> I've looked at the Allaire developers exchange and a number of people had
> the same question, but nobody had responded with an answer.
> 
> Thanks,
> David J. Berger
> Senior Web Developer
> Cynergy Consulting
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to