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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]