When we configure session timeout in web.xml, it is applicable to all the sessions created.
When we call setMaxInactiveInterval(int interval) on a session object, then the timeout is set only for that specific session object.
If you have specified a timeout value in web.xml and also calling setMaxInactiveInterval(int interval) on a session object, then for that session object, value set in setMaxInactiveInterval() will be considered for timeout.
Sunil.V<br />SCJP2, SCWCD1.4, SCBCD1.3
Joined: Oct 20, 2004
thanks all. i understood the difference..
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com