Name

<session-timeout>

Synopsis

<!ELEMENT session-timeout (#PCDATA)>

Description

The <session-timeout> element defines the default session timeout interval for all sessions created in the web application. The specified timeout must be expressed in a whole number of minutes.

<session-config>
    <session-timeout>60 <!-- minutes --></session-timeout>
</session-config>

Get Java Servlet Programming, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.