IIRC, by the time onSessionEnd() is triggered, the session struct has
already been cleared.
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
I would think that those references would be garbage collected at the next
GC run, so no need to do that.
-- Josh
-Original Message-
From: Che Vilnonis [mailto:ch...@asitv.com]
Sent: Tuesday, September 08, 2009 12:15 PM
To: cf-talk
Subject: onSessionEnd clearing session scoped
Thanks all. I just wasn't sure about the best practice...
-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com]
Sent: Tuesday, September 08, 2009 4:27 PM
To: cf-talk
Subject: Re: onSessionEnd clearing session scoped variables
What is the best/proper way (using CF8
What is the best/proper way (using CF8) to clear all session variables in
the onSessionEnd method of Application.cfc? Should I clear the variables
individually? Should I clear the entire session scope? Or, since I have a
default session timeout, do I need any of this code at all? See below.
4 matches
Mail list logo