Well for closing the window, there is the javascript onclose() function. Basically it's possible to specify in Javascript that certain things could happen when the user closes a window. For example you could say something along the lines of window.onclose = open ("logout.jsp")
that's not the excact code, but it's something along those lines. --Monte Glenn Gardner On Mon, 9 Sep 2002, randie ursal 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 > > ___________________________________________________________________________ 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