"It ends when the timeout is reached or when the browser window is closed, depending on how you have things set up. If you clear session variables upon logout, the session is still running, but it is empty."
A point of clarification, the session ONLY ends when the timeout is reached, or the CF server is stopped. It never ends when the browser is closed. If you have sessions set up as 'per session' or 'in memory' then the cookies (CFIDE and CFToken) associating a specific user to a specific session are cleared when the browser is closed. This means that the user should no longer have access to the session data, without jury-rigging the correct cookies with the correct values. But the session is still running. This is important to understand if one expects an 'onSessionEnd' event to fire when a browser is closed. This will not happen. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294467 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

