Default session timeout for Apache Tomcat applications

前端 未结 1 867
北荒
北荒 2020-12-12 18:45

What is the default session timeout for web applications deployed on Tomcat5.5? Is it browser specific? In my web application, default timeout is mentioned neither in

1条回答
  •  时光说笑
    2020-12-12 19:21

    Open $CATALINA_BASE/conf/web.xml and find this

    
    
    
    
    
      30
    
    

    all webapps implicitly inherit from this default web descriptor. You can override session-config as well as other settings defined there in your web.xml.

    This is actually from my Tomcat 7 (Windows) but I think 5.5 conf is not very different

    0 讨论(0)
提交回复
热议问题