Paul, The J2EE session option is somewhat underdocumented - it does a few things, but it does not force onSessionEnd to end when a browser is closed. What it does is set the users' session cookies to be, well, session cookies that are discarded when the browser is closed. The server will still expire them after the set time limit (default 20 minutes), and that is when it will call onSession End.
There's no other way to really track that, unless you put your site in a big frame, have another window open (like a pop-behind, yuck!) or a client-side app, or, i guess, make your whole app a client-side app. Hope that helps clear it up a bit...? -- nathan strutz http://www.dopefly.com/ On 6/20/07, Paul Henderson <[EMAIL PROTECTED]> wrote: > > From what I understand if you set the cfadmin to use J2EE Session > variables > sessions will expire when the browser is closed. However I've been testing > this out and the OnSessionEnd code I have in the application.cfc does not > run when the browser is closed it only seems to run when the session times > out. Is there a way to trigger the OnSessionEnd when a user closes the > browser? Thanks. > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion 8 beta â Build next generation applications today. Free beta download on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281694 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

