wood burning stoves 2.0*
The moose likes Servlets and the fly likes What if no Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "What if no "session-config" element?" Watch "What if no "session-config" element?" New topic
Author

What if no "session-config" element?

viswanath sastry
Greenhorn

Joined: May 04, 2003
Posts: 24
Since <session-config> element in web.xml is optional, What will be the session timeout,if we don't have it in web.xml? Will sessions be timed out at all? Or will there be a container specific time out value out of web.xml?
This has not been mentioned in servlet specifications.
Thanks.


visu
Paul Lester
Ranch Hand

Joined: Dec 27, 2002
Posts: 40
The timeout will be container specific. For example, Tomcat uses 30 minutes, as does WebLogic, I believe.
Paul


Where Photography meets vision.<br /><a href="http://www.photogravision.com" target="_blank" rel="nofollow">http://www.photogravision.com</a><br />Please stop by!<br /> <br />SCJP,SCWCD,SCJD,SCEA
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What if no "session-config" element?