1426  
查询码:00000218
修改tomcat的session过期时间
作者: 系统管理员 于 2018年03月28日 发布在分类 / 配置安装 / tomcat 下,并于 2018年03月28日 编辑

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

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


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


 推荐知识

 历史版本

修改日期 修改人 备注
2018-03-28 14:08:38[当前版本] 系统管理员 格式调整
2018-03-28 14:08:16 系统管理员 CREAT

wcp知识库系统-京ICP备15024440号-1 -V 4.9.5 -wcp