[jQuery] Re: Stop browser to be closed

2008-09-18 Thread Feijó
I need some way to trigger a AJAX that will do the Logoff (and with that end the user session) if user just hit the X to close the browser. I will look about onbeforeunload, thanks! Feijó MorningZ escreveu: I'm not 100% sure what you are after ultimately... but i think the _javascript

[jQuery] Re: Stop browser to be closed

2008-09-18 Thread MorningZ
I'm not 100% sure what you are after ultimately... but i think the javascript event "onbeforeunload" is what you need to use http://www.google.com/search?q=javascript+onbeforeunload