Capture browser closing ?

Hi there
How can I know when the user closes his browser ?
I need to do some actions before: log the user off, ...
To begin with: how do I see javascript alert when the user closes his application browser ?



  • This is not allowed at all for security considerations. The only thing you can do is to prompt a user if he realy wants to leave on unload event.
    [hr]Good luck!
    [b]Aidas Bendoraitis[/b] aka [b]Archatas[/b][hr]

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion