posted 21 years ago
Hi all,
My answer is as follows,
1. request expires after its corresponding response object is committed.
2. session expires after a specific session inactivity time which can be
configured in minutes in the web.xml.
<session-config>
<session-timeout>5</session-timeout>
</session-config>
or
programatically inside a servlet
session.setMaxInactiveInterval(int second)
or
through a call to
session.invalidate();
3.ServletContext expiration can be done by a SysAdmin etc. or when the
web server stops.
Anybody has a better answer ?
yogen