Check out the HttpSessionBindingListener interface and the
HttpSessionBindingEvent class in the docs of the javax.servlet.http package.
Such an event is created when you explicitly add (after login) or remove
(after logout) the implementing object to/from the session, or when the
session is invalidated due to timeout.

I recommend that unless your using applets, you not focus very much on
manipulating the browser - try to keep you logic on the server, as users
have their own unique "logic" using the browser.

Scott
----- Original Message -----
From: Venkat Srinivasan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 07, 2000 1:14 AM
Subject: Browser Crash and Session tracking


> Hi,
>
> I want to track the web browser sessions and perform a certain db
operations
> when the session ends, during logout. I want to know is there a way to
track
> the session when the browser is closed and invoke a particular function in
> my JSP evnironment.
>
> I am using Sun's JWS and Oracle DB
>
> Is there any funtion that would be invoked automatically, when the session
> ends.
>
> Thanks,
> Venkat
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> 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
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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

Reply via email to