This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet timeout values

 
kan nat
Greenhorn
Posts: 28
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic