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.
A good workman is known by his tools.
What do you have to say for yourself? Hmmm? Anything? And you call yourself a tiny ad.