Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet timeout values

 
kan nat
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Is there a negative value , -1 which will make the session never expire. what i read is session timeout values are specified in seconds.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kan nat wrote:
Is there a negative value , -1 which will make the session never expire.

Yes
kan nat wrote:
what i read is session timeout values are specified in seconds.

what you read was Correct

 
Vishwanath Krishnamurthi
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kan nat wrote:
Is there a negative value , -1 which will make the session never expire


better put as session will never time out.
 
Vishwanath Krishnamurthi
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kan nat wrote:
what i read is session timeout values are specified in seconds.


If you use setMaxInactiveInterval(int), timeout value would be in seconds yea,

but if you specify in the DD using <session-timeout>, it would be minutes...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic