Um, won't that run every time you move to a new page in the same app? On Fri, Nov 5, 2010 at 5:49 PM, Russ Michaels <r...@michaels.me.uk> wrote: > > Well you can use javascript to detect when the browser is closed and then > call another cfm page or make an ajax call to end the session. > > e.g. > > <body onunload="closesession()">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338892 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm