An object can be notified of the session timeout by implementing the 
HttpSessionBindingListener
interface. See:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/servletapi/javax/servlet/http/HttpSessionBindingListener.html
--- "Babak V." <[EMAIL PROTECTED]> wrote:
> inser an applet in your response page.
> use the Stop method in your applet.
> when the browser window is closed, this method will be
> called.
> it's not a good way to do so, but I guss it's most
> supported and easy way !!!!!
> Babak Vandad
>
> --- randie ursal <[EMAIL PROTECTED]> wrote:
> > 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, send email to [EMAIL PROTECTED]
> > and include in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives:
> >
> http://archives.java.sun.com/archives/servlet-interest.html
> > Resources:
> >
> http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help:
> > http://www.lsoft.com/manuals/user/user.html
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>


=====

Mark Zawadzki Performance Engineer/DBA/Programmer extraordinaire’ [EMAIL PROTECTED] 
[EMAIL PROTECTED]

 "Programming today is a race between software engineers striving to build bigger and 
better idiot-proof programs, and the universe trying to build bigger and better idiots.

So far, the universe is winning"

 Robert Cringle (columnist, author, host of "Triumph of the Nerds")


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to