If I understand your question, you can not expect the onSessionEnd to fire
when a user close their browser. It is only fired when the session actually
times out by the settings set within you admin settings.

On 7/6/07, James Smith <[EMAIL PROTECTED]> wrote:
>
> I currently have an Application.cfc with the following 3 functions...
>
> <cffunction name="onApplicationStart" returnType="void" output="no">
>        <cfscript>
>                Application.Sessions = 0;
>        </cfscript>
> </cffunction>
>
> <cffunction name="onSessionStart" returnType="void">
>        <cfscript>
>                Application.Sessions = Application.Sessions + 1;
>        </cfscript>
> </cffunction>
>
> <cffunction name="onSessionEnd" returnType="void">
>        <cfargument name="SessionScope" required="yes"/>
>        <cfargument name="ApplicationScope" required="yes"/>
>        <cfscript>
>                Application.Sessions = Application.Sessions - 1;
>        </cfscript>
> </cffunction>
>
> When the session starts the Application.Sessions variable is getting
> incremented correctly but for some reason it never goes down suggesting
> that
> onSessionEnd isn't getting called, am I missing some obvious setting
> somewhere?
>
> --
> Jay
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283045
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to