• Post Reply Bookmark Topic Watch Topic
  • New Topic

session timeout by default

 
amarkirt saroay
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If there is no session-config entry in the DD and also if we dont specify the session .setMaxInactiveinterval() then what does the container consider the timeout duration for the HttpSession?
 
Mateus Lucio
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's vendor specific, in tomcat the default is 30 min and you can configure it in tomcat_home/conf/web.xml

this configuration applies to all web apps deployed
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!