What this code does is change the session cookies from "normal" cookies to
memory resident-only cookies. In other words, the cookies will not be
written to disk when the browser is closed, they exist only in RAM.
Steve
-----Original Message-----
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 2:00 PM
To: CF-Talk
Subject: Session Variable Logout from Hal Helms
I am looking at this code from Hal's website and don't see how it will kill
a session if they leave.
<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 way it looks to me is that the cookie is continuosly filled in. So if
they left it would already have been filled in. Anyone shed any light on
what I obviously am not seeing or understanding.
Robert Everland III
Web Developer
Dixon Ticonderoga
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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