Use the structdelete function. The structure is session and the key is your session variable name.
-----Original Message----- From: Stephenie Hamilton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 9:51 AM To: CF-Community Subject: RE: Log out routine Well, I was thinking on the logout page I could set the cookies to expire now...but what is the best way to kill a session var? ~~ Stephenie -----Original Message----- From: Kevin Schmidt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 10:45 AM To: CF-Community Subject: RE: Log out routine I have seen people put code in every page via application.cfm that checks I have also seen it done with Javascript settimeout function and I have seen it done with the database as well. Take your pick! Kev -----Original Message----- From: Stephenie Hamilton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 9:38 AM To: CF-Community Subject: Log out routine What is the best way to log out a user from an app that uses cookies and session vars? ~~ Stephenie ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
