This might be a dumb thing but doen't you have to pass in the session to 
onSessionEnd? <cffunction name="onSessionEnd" returnType="void">
        <cfargument name="SessionScope" required=True/>
        <cfargument name="ApplicationScope" required=False/>

It might be causing an error which wouldn't get thrown to anything.

Nope, that is not the issue.  You only need to pass the scopes to the function 
if you want to read values from them.  If you don't care, as I currently don't, 
you do not need to pass in the scope.

I've further tested this.  It works when the session times out.  But even 
though I have J2EE sessions enabled, the onSessionEnd does not fire when the 
browser is closed. It does fire sometime later when the session times out, even 
though the browser has been closed.  This seems to be counter this passage of 
the documentation.

<quote src="CFML Reference - Application CFC Reference - onSessionEnd">
A session ends when the session is inactive for the session time-out period or, 
if using J2EE sessions, the user closes the browser.
</quote>


--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251090
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