Thanks Koen.
I tried that and it works when I call the session.invalidate() method
expicitly, say when the user clicks the log out button,.
But when I close the browser window without logging out valueUnbound()
is not fired.Any idea?
thanks
Koen Weyn <[EMAIL PROTECTED]>@java.sun.com> on 02/27/2001 03:46:19 PM
Please respond to A mailing list about Java Server Pages specification
and reference <[EMAIL PROTECTED]>
Sent by: A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:
Subject: Re: Session Maangement.
Hi,
I did this using a HttpSessionBindingListener with the valueUnbound()
method. This way you are notified whenever an object is removed from
the
session (even when the session is destroyed)
Hope this helps
Koen
-----Original Message-----
From: A mailing list about Java Server Pages specification and
reference
[mailto:[EMAIL PROTECTED]]On Behalf Of OK Prakasan
Sent: dinsdag 27 februari 2001 10:49
To: [EMAIL PROTECTED]
Subject: Session Maangement.
Hi All,
I want to perform some operations when the user ends.
How is this possible.
Thanks in Advance,
Prakasan
===========================================================================
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://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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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