You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Emmanuel Boudrant <b7...@yahoo.fr> on 2002/12/03 14:49:53 UTC

[OT] JavaScript navigator close event

Hi,
Is there, in javascript an event on navigator closed ? I try the <body onUnload="..."> but my code is executed at every page change (An that's normal ;). But I want to execute code only when the user close the navigator (And his session!), I don't want to wait session timeout before reset all the lock associed to this session.

So is there a solution ?

Thx,
-emmanuel



---------------------------------
Soyez solidaire soutenez l’action du Téléthon avec Yahoo! France.
Cliquez ici pour faire un don !