Hi,
I don't know if it would work, bat you can try capturing "onunload"
window event : <body onunload="..."> and defining a function that could
do a http request to your JSP before window closes.
Bye
----- Mensaje Original -----
De: Panos Konstantinidis <[EMAIL PROTECTED]>
Fecha: Jueves, Diciembre 28, 2000 11:37 am
Asunto: 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
>
________________________________________________________________________
_
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>
========================================================================
===
> 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
>
________________________________________________________________
Aprovechamos este mensaje para desearte una FELIZ NAVIDAD.
Entra en http://www.navidad.navegalia.com/ y descubre las sorpresas que
Navegalia tiene para esta Navidad.
===========================================================================
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