If you mean an HttpSession -
Create an object that implements HttpSessionBindingListener, call
session.setAttribute(myObj). The HttpSessionBindingListener will be called
(valueUnbound(...) ) when the session expires,
Kevin Jones
DevelopMentor
www.develop.com
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Narayanaswamy, Kumaran
> (CTS)
> Sent: 18 September 2000 04:57
> To: [EMAIL PROTECTED]
> Subject: How to Identify whether a session has expired
>
>
> Hi
> Is there any method to find whether a session has been expired?
> with regards,
> Kumaran
> ________________________________________________
> Cognizant Technology Solutions India Ltd,
> 1st Floor ,T.S.140 No 2 & 9,
> C.P.T Road .Taramani
> Chennai - 600 113.
> Phone(0ff): 044 - 2354281/2354411 Extn: 4443
> EMail : [EMAIL PROTECTED]
> _________________________________________________
>
>
>
>
>
>
> This e-mail and any files transmitted with it are for the sole
> use of the intended recipient(s) and may contain confidential and
> privileged information.
> If you are not the intended recipient, please contact the sender
> by reply e-mail and destroy all copies of the original message.
> Any unauthorised review, use, disclosure, dissemination,
> forwarding, printing or copying of this email or any action taken
> in reliance on this e-mail is strictly
> prohibited and may be unlawful.
>
> Visit us at http://www.cognizant.com
>
> ==================================================================
> =========
> 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