Saturday, 23 April 2016

Can we define the session which are never invalidated ?


Yes, of course !

Set timeout value to 0 or less will ensure that the sessions are never invalidated.
In the web.xml , session configuration is :
<session-config>
  <session-timeout>0<session-timeout>
</session-config>

No comments:

Post a Comment

Note: only a member of this blog may post a comment.