2023-09-22 12:57:57 版本 : 修改tomcat的session过期时间
作者: 系统管理员 于 2018年03月28日 发布在分类 / 配置安装 / tomcat 下,并于 2023年09月22日 编辑
 历史版本

备注 修改日期 修改人
内容更新 2023-12-04 13:59:00[当前版本] 系统管理员1
内容更新 2023-09-22 12:57:57 系统管理员1
CREAT 2018-03-28 14:08:16 系统管理员

1. 在容器中设置:如在tomcat\conf\web.xml中设置

Tomcat默认session超时时间为30分钟,可以根据需要修改,负数或0为不限制session失效时间。


<session-config>    
        <session-timeout>30</session-timeout>    
</session-config>    


wcp.v5.0.5 中的配置文件位置C:\wcps8Server\tomcat8Server\conf\web.xml

历史版本-目录  [回到顶端]
    wcp知识库系统-京ICP备15024440号-1 -V 5.1.9 -wcp