jsp - Set the session-timeout never expires in java / struts1.x -
how set session timeout never expires in struts1.x
web.xml ------- <session-config> <session-timeout>1440</session-timeout> </session-config>
set -1
<session-config> <session-timeout>-1</session-timeout> </session-config>
warning:
this not recommended set session expiration infinite.
but, should add full details of why doing this, proper solution you'l get.
Comments
Post a Comment