Sessions are in a structure called "session" so you can remove the variable from the structure with built in structure functions.
<cfset structDelete(session, "yourSessionVariable">
will clear your session variable.
likewise, if you want to get rid of all of them,
<cfset structClear(session)>
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
- Quote by Douglas Adams
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.