Arun Thomas wrote:
> The OnUnload event handler should do the trick in either case.
>
> -AMT
>
Unless the user's browser crashes.
Or if the user's Internet connection breaks, you won't be able to hear anything
sent from the OnUnload event handler.
You can catch most cases, but not all of them. That's why you still need to set a
rational timeout to invalidate your sessions for you.
Craig McClanahan
>
> > -----Original Message-----
> > From: A mailing list about Java Server Pages specification and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Steve Nguyen
> > Sent: Monday, November 29, 1999 4:04 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: AW: End of session
> >
> >
> > It won't work if they simply point the HTTP to other URL.
> >
> > Steve
> > KBMail Software & Java Hosting Service Provider
> > http://www.kbmail.com
> > http://www.ebpcs.net
> >
> > "Plan - Do - Review --> Success"
> >
> > -------- Original message --------
> > Date: Mon, 29 Nov 1999 10:29:32 +0100
> > From: Thomas Eppler <[EMAIL PROTECTED]>
> > Subject: Re: AW: End of session
> > To: [EMAIL PROTECTED]
> > ----------------------------------
> >
> > But there should be a solution using Javascripts ONCLOSE.
> > If the user closes the window, you can catch this event with
> > OnClose, open another
> > window, request a certain jsp-script that logs the user out and
> > which is beeing
> > closed automatically with Javascript: window.close.
> > What about this? I should work ... ;-)
> > Regards
> > Thomas
> >
> >
> > Uwe Keim wrote:
> >
> > > I think, because of the stateless http, you
> > > can only trap the timeout of the session.
> > >
> > > Uwe
> > >
> > > --------------------------------------------
> > > zeta software GbR
> > > kundenspezifische E-Commerce Probleml�sungen
> > > Tel +49(0)7164.91262-0 www.zeta-software.de
> > >
> > > > -----Urspr�ngliche Nachricht-----
> > > > Von: A mailing list about Java Server Pages specification and
> > reference
> > > > [mailto:[EMAIL PROTECTED]]Im Auftrag von Jijith Sivarajan
> > > > Gesendet: Montag, 29. November 1999 09:31
> > > > An: [EMAIL PROTECTED]
> > > > Betreff: End of session
> > > >
> > > >
> > > > hi
> > > >
> > > > How can we trap the end of a session for a user in a jsp page
> > > > ie. when the user closes his browser.
> > > >
> > > > Thanks
> > > > --
> > > > Jijith Sivarajan
> > > > Software Engineer
> > > > Tata Interactive Systems
> > > > Andheri, Mumbai.
> > > >
> > > > ==================================================================
> > > > =========
> > > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > > > JSP-INTEREST".
> > > > FAQs on JSP can be found at:
> > > > http://java.sun.com/products/jsp/faq.html
> > > > http://www.esperanto.org.nz/jsp/jspfaq.html
> > >
> > >
> > ==================================================================
> > =========
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body:
> > "signoff JSP-INTEREST".
> > > FAQs on JSP can be found at:
> > > http://java.sun.com/products/jsp/faq.html
> > > http://www.esperanto.org.nz/jsp/jspfaq.html
> >
> > --
> > -----------------------------------
> > Y O U N G C U L T U R E A G
> > Thomas Eppler
> > Schoenbuehlstrasse 4
> > CH-8032 Zurich
> >
> > Phone: 41 1 262 00 80
> > Fax: 41 1 262 00 82
> >
> > email: [EMAIL PROTECTED]
> > http://www.youngculture.com
> > -----------------------------------
> >
> > ==================================================================
> > =========
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > FAQs on JSP can be found at:
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> >
> > ==================================================================
> > =========
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > FAQs on JSP can be found at:
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> >
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html