StructDelete(session,"TestVariable", TRUE)
Chris
-----Original Message-----
From: Nick Baker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 12:36 PM
To: CF-Talk
Subject: Killing a session Variable
CF 5.0
Actually the goal is to kill a session array, but can't seem to get a
simple session variable killed. I run the following code and obtain the
below results.
<cfset session.TestVariable = 3>
<cfoutput>
#isdefined("session.TestVariable")#<br>
#StructDelete(session,"session.TestVariable", TRUE)# <br>
#session.TestVariable#<br>
#isdefined("session.TestVariable")#<br>
</cfoutput>
--- Results
YES
NO
3
YES
Any suggestions?
Thanks,
Nick
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

