Ung, Seng said the following on 3/18/2006 10:30 PM:
> from the new released of coldfusion mx 7
> Do I need to included cflock during the onSessionEnd?
>
>
> <cffunction name="onSessionEnd" returnType="void" output="yes">
>       <cfargument name="sessionScope" type="struct" required="true">
>        <cflock timeout="10" scope="Session" type="Exclusive">
>               <cfset StructDelete(Session, "KeyID")>
>       </cflock>
> </cffunction>
>   

If it recall correctly, once the onSessionEnd method gets called - the
actual session scope has already been killed.  I believe that's the
reason why the a copy of the session scope called arguments.sessionScope
is passed into that method.  Anybody please correct me if I am wrong - I
cannot remember where I heard or read that.

Best,
.Peter

-- 
Peter J. Farrell :: Maestro Publishing
Member Team Mach-II :: Member Team Fusion
http://blog.maestropublishing.com

Create boilerplate beans and transfer objects for ColdFusion!
Fire up a cup of Rooibos!
http://rooibos.maestropublishing.com/




----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to