This little piece of codes was all I needed!!! It worked perfectly. I looked in the book and didn't see anything this simple! Thanks guys!!!
A question I get quite often is:
What is the best way to "kill" all sessions in my ColdFusion application?
Well, my answer always is.... It just takes 3 lines of code (Don't you just love ColdFusion? ;)
<cfscript>
StructClear(Session);
</cfscript>
The command above will instruct ColdFusion to "kill" all sessions for the current client.
Questions? Comments? Email me...
This little piece of codes was all I needed!!! It worked perfectly. I looked in the book and didn't see anything this simple! Thanks guys!!!
I agree with Mark
Why not use StructDelete?
It is a bit longer but it will delete session.