posted 11 years ago
Manning's SCWCD Exam Study Kit says:
The <session-timeout> element contains the timeout in minutes. A value of 0 or less means that the session will never expire.
if we want to specifiy that a session will never expire using the setMaxInactiveInterval() method, a negative value (not 0) is required.