單位:分鐘!!
<session-config> <session-timeout>5</session-timeout> </session-config>如果要設定成秒數的話要另外實作,根據下述的資料參考
http://www.velocityreviews.com/forums/t146162-tomcat-5-0-config-timeout-in-seconds.html
Anyway, no, it's not possible. Not directly at least. You will have to
implement a session listener and call setMaxInactiveInterval on every
new session. There you can specify the interval in seconds
沒有留言:
張貼留言
留個話吧:)