structClear(session.loggedIn,username) would be a better alternative.


Db


----- Original Message ----- 
From: "Beau Harbin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, November 13, 2001 5:00 AM
Subject: RE: StructClear(session) again...


> Tage,
> 
> If you run a the StructClear() against the session scope
> you will lose ALL the session keys, including the session
> ID, CFID and CFTOKEN.  Once these are gone, it is impossible
> to then associate a user with a session.
> 
> Good luck,
> Beau
> 
> 
> -----Original Message-----
> From: Tage Widsell [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 13, 2001 5:03 AM
> To: CF-Talk
> Subject: StructClear(session) again...
> 
> 
> Hi,
> 
> Recently someone said that StructClear(session) was a bad way to remove
> session variables. Why? If I effectively want to remove an entire
> session
> (this is ti be used in a logout template), wouldn't StructClear(Session)
> be
> the way to do it?
> 
> Regards
> Tage Widsell
> Webmaster
> Propellerhead Software
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to