Santosh,

If you are asking how can you remove an attribute from a session, see the
removeAttribute(String attrName). The memory will be released the next time
the garbage collector is run or you can call System.gc() (if memory serves
me correctly).

I'm not sure if there is any method like valueUnbound() that will tell you
when a Session times out.

Ed Foley
Webclaims, LLC

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Salian, Santosh (GXS,
TCS)
Sent: Tuesday, June 12, 2001 12:04 PM
To: [EMAIL PROTECTED]
Subject: Session timeout


Hi ,

Is it possible to explicitely release the memory held by a bean and also to
handle Session timeout ?

I have JSP running on Jrun 2.3.3.

Thanks and Regards,
Santosh

===========================================================================
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

Reply via email to