Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What if no "session-config" element?

 
viswanath sastry
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Paul Lester
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The timeout will be container specific. For example, Tomcat uses 30 minutes, as does WebLogic, I believe.
Paul
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic