Name
<session-config>
Synopsis
The
<session-config>
element can customize session handling
attributes. You must only use one element of this type in a
deployment descriptor.
Syntax
<session-config>
[<session-timeout>minutes</session-timeout>]
</session-config>
It contains just one subelement: the
<session-timeout>
element used to specify
the default session timeout value in minutes. A value of 0 or less
means that sessions never time out. Omitting the nested element means
the container uses its own default:
<session-config> <session-timeout>30</session-timeout> </session-config>
Get JavaServer Pages, 3rd 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.