You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Juan de Bravo <ju...@mad.tecsidel.es> on 2004/03/04 11:44:56 UTC

Invalidate User Session

Hi everybody,
is it possible to listen for window closing event to invalidate user
session?

Thanks,

Juan.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Invalidate User Session

Posted by Peter Guyatt <pg...@telesoft-technologies.com>.
Hi There,

	Not very easily, There is no onClose event for the window object in the DOM
model.

I found some javascript code that would mimic the onClose function but if
you refreshed the page via F5 or the refresh button then it assumed it was
closing the window.

If this is not a problem I could forward you the javascript.

Thanks

Pete

-----Original Message-----
From: Juan de Bravo [mailto:juan.debravo@mad.tecsidel.es]
Sent: 04 March 2004 10:45
To: Lista usuarios tomcat (E-mail)
Subject: Invalidate User Session



Hi everybody,
is it possible to listen for window closing event to invalidate user
session?

Thanks,

Juan.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org