You can also try to html refresh page every 30 sec or so. That will automatically hit 
the servlet, if particular client session doesn't hit the servlet that means the 
browser is closed.

-----Original Message-----
From: Rajarshi Ghosh [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 6:38 AM
To: [EMAIL PROTECTED]
Subject: Re: how to get notified if user close browser


Hi,
 Load one hidden applet in your browser and when the window is getting
closed use applet-servlet communication to notify your servlet.Hope this
helps.
---------------- LOVE IS GOD -------------------
Mr. Rajarshi Ghosh
Project Leader
LearningMate
A division of Educomp Datamatics Limited
#16, 80 Feet Road, IV Block,
Koramangala, Bangalore 560034
India
Voice: 91-80-5501051/52/53/55 Ext: 118
Fax   : 91-80-5501051/52/53/55
[EMAIL PROTECTED]
www.learningmate.com
----- Original Message -----
From: "randie ursal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 09, 2002 4:12 PM
Subject: how to get notified if user close browser


> hi,
>
>    can anyone have an idea about this.
>
>    how can i check or get notified on my servlet if the client browser
> has close?
>    also when my session has timeout?
>
>    is there any event notification that my servlet would receive or i
> have to check
>    it manually?
>
>    i'm using Tomcat 4.0.
>
> thanks
>
>    randie
>
>
===========================================================================
> 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://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to