Hey all, I need to be able to kill a session/run a script when someone closes their browser. But I cannot find a javascript command that handles this event only. All of the commands I have found (onunload etc.) also run when someone refreshes the page or hits the back arrow. Has any of you run acrosse this problem? Is there a solution? Oh, its OT because the web application that is using this is in Java Thanks! Gavin ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists