Try to put an object, which implements HttpSessionBindingListener, into a
session.
When the object is unbound valueUnbound() is fired.
After the browser is closed the session will get destroyed (after timeout
period) and the object will be unbound.

Gernot

-----Urspr�ngliche Nachricht-----
Von: Panos Konstantinidis [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 28. Dezember 2000 11:37
An: [EMAIL PROTECTED]
Betreff: How can I detect browser closing?


  Hello. I am trying to detect the closing of the browser and then on
closing write some data in a file. How can I detect browser closing using
JSP? Is there any special command? Any help is appreciated.

  Thanks.

     Panos

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to