I'm a bit confused by what this piece of code is supposed to do.  Looks
to me like you reassign cookie values to themselves.  Not sure how that
solves the problem.

-- 
Billy Cravens
HR Web Development, Sabre
[EMAIL PROTECTED]

Alex wrote:
> 
> <!---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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to