How to do a simple session timeout?

Christopher Schultz

In WEB-INF/web.xml, use the following incantation:

      <session-timeout>30</session-timeout>    <!-- 30 minutes -->

It's one of the last sub-elements of <webapp>. Check the DTD if you're unsure.

See also:

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact