I believe you could use JavaScript's onUnload function to kick of an Ajax call. That should do the trick, but you'd want to do the ajax call synchronously so that the user doesn't get a pause as they go away (this can also cause errors in some browsers if you do it asynchronously).
On 4/2/07, Les Mizzell <[EMAIL PROTECTED]> wrote: > > Ok - have an app with a logout page that destroys all client/session > variables. No problem. Works great. > > BUT - what if somebody doesn't log out and just closes the browser? Is > there any way to destroy everything when that happens? > > I've not found a definitive source of info on this anywhere yet still > researching... > > Is there a good reference anywhere..... > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274386 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

