Hi all,
How to set session timeout in a
jsp page as well as a
servlet.
I have set the session-timeout in web.xml as
<session-config>
<session-timoeout>1</session-timoeout>
</session-config>
and also set the session timeout in the servlet as
session.setmaxInactiveInterval(60);
I am using websphere and the timeout was set as 40
but the session is not timing out.
what should i do now??
Am i wrong anywhere?
Thanks in advance.