use StructDelete(). use "session" as the key and just use the session var
name.
-----Original Message-----
From: S R [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 12, 2000 2:32 PM
To: CF-Talk
Subject: deleting session variables
Hi,
I am using this code to delete my session variables when a user closes their
browser:
<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 only problem is that it also deletes my client variables upon closing
the browser. Is there any way to just delete session variables and leave the
client intact??
Sal
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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