Thomas wrote:
>
> Are session timeouts renewed everytime a session is used, even if the value
> is not updated, i.e. is the timeout renewed with every
> session.getAttribute()?

The session timeout comes into play only when no requests at all have been
received for this session for the period of time specified by the timeout
value. Every time the container receives a request that contains a session ID,
it reset the timer for the corresponding session. SO it doesn't matter if
you call any session methods or not.

Hans
--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com
Author of JavaServer Pages (O'Reilly), http://TheJSPBook.com

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