去评论
推扬网

高钰雯:session-timeout设置长时间有什么影响,消耗性能大妈

admin
2020/08/10 20:22:25

半人,半心。的回答:

internal error -incomplete session by time out 内部错误-不完整会话超时 session n.会议;会期;开庭期;学期;一段时间 例句 if the negotiations between the rich northerly nations and poor southerly nations make headway, it is intended that a ministerial session in december should be arranged. 要是北方富国和南方穷国之间的谈判获得进展的话,就打算在十二月份安排召开部长级的会议。 several bills were enacted at the end of this session of parliament. 这届国会结束时,好几个议案制定成为法律。

樊凌云的回答:

<session-config> web.xml中这么配置: session-config包含一个子元素session-timeout.定义web站台中的session参数. <session-timeout>分钟</session-timeout> 定义这个web站台所有session的有效期限.单位为分钟. </session-config> 范例: <session-config> <session-timeout>20</session-timeout> </session-config> 如果你都配置了还是不起作用,就直接在使用session时就设置有效时间!