【发布时间】:2014-05-20 06:33:53
【问题描述】:
我正在尝试在 tomcat 应用程序中为会话 cookie 设置 maxage。 我在 web.xml 中进行了更改
<session-config>
<session-timeout>30</session-timeout>
<cookie-config> <max-age>30000</max-age> </cookie-config>
</session-config>
但是 google->developertools->Resources->Expires/Max-Age 有值 SESSION。
这是否意味着没有为 cookie 设置 max-age ?还是我做错了什么。
谢谢
【问题讨论】:
标签: security tomcat cookies web struts2