Apache Tomcat应用程序的默认会话超时

Apache Tomcat应用程序的默认会话超时,第1张

Apache Tomcat应用程序默认会话超时

打开

$CATALINA_base/conf/web.xml
并找到这个

<!-- ==================== Default Session Configuration ================= --><!-- You can set the default session timeout (in minutes) for all newly   --><!-- created sessions by modifying the value below. --><session-config>  <session-timeout>30</session-timeout></session-config>

所有Web应用程序都隐式继承自此默认Web描述符。您可以覆盖session-config以及在web.xml中定义的其他设置。

这实际上来自我的Tomcat 7(Windows),但我认为5.5 conf差别不大



欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/5560836.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-12-14
下一篇2022-12-14

发表评论

登录后才能评论

评论列表(0条)

    保存