One good way to find out is...TRY IT. :)
However...the answer is yes. Session vars will NOT exist after using
StructDelete(session, "{varname}").
--Dylan
-----Original Message-----
From: Chen, Yung-Chih (CIT) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 8:37 AM
To: CF-Talk
Subject: RE: Killing a variable
so, once you Clear the all session variables, does that mean session
variable
does not exist?
or session variable still exists but without any values!
If I do this <cfset temp = StructClear(session)>
right after that statement can I use isdefined() to find out see if session
variable is exist or not?
-----Original Message-----
From: Bob Silverberg [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 11:22 AM
To: CF-Talk
Subject: RE: Killing a variable
<cfset temp = StructClear(session)> will clear all session variables. Don't
forget to CFLOCK it.
Bob
-----Original Message-----
From: Jon Gage [mailto:[EMAIL PROTECTED]]
Sent: November 2, 2000 11:03 AM
To: CF-Talk
Subject: Killing a variable
I'm setting a session variable when people log into our site. I was
wondering if there's a way to "kill" the variable when they log out, so an
isDefined("SESSION.LOGGEDIN") will return as false. Is this possible?
Thanks,
Jon
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]