File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes servlet timeout values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet timeout values" Watch "servlet timeout values" New topic
Author

servlet timeout values

kan nat
Greenhorn

Joined: Mar 19, 2009
Posts: 28

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

Joined: Jan 28, 2008
Posts: 5575

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

Joined: Jun 04, 2007
Posts: 331
kan nat wrote:
Is there a negative value , -1 which will make the session never expire


better put as session will never time out.


Blog
Vishwanath Krishnamurthi
Ranch Hand

Joined: Jun 04, 2007
Posts: 331
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
 
subject: servlet timeout values