I think that StructClear will release the bit of memory that is storing the
session vars so they will not be defined. I'm not 100% sure about this.
------------------------------------------------------------------
Andrew Ewings
Project Manager
Thoughtbubble Ltd
http://www.thoughtbubble.net
------------------------------------------------------------------
United Kingdom
http://www.thoughtbubble.co.uk/
Tel: +44 (0) 20 7387 8890
------------------------------------------------------------------
New Zealand
http://www.thoughtbubble.co.nz/
Tel: +64 (0) 9 419 4235
------------------------------------------------------------------
The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s). Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute, or
retain this message. Please notify us on +44 (0)207 387 8890.
-----Original Message-----
From: Chen, Yung-Chih (CIT) [mailto:[EMAIL PROTECTED]]
Sent: 02 November 2000 16:37
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]