I have an application where I store the ServletContext in a session variable
when a session is created.  This allows me to read and update an application
scope variable at the start of the session (within a valueBound()).  When
the session is invalidated, valueUnbound() reads the ServletContext from the
session and uses it to again read and update the application scope variable.
My question is this: is there an instance where the servlet context will
change between the start and the end of a session...  If a user clicks on a
logout button I could always update the ServletContext session variable, but
there doesn't seem a way to update this variable just before a session times
out...

Donald

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