<session-descriptor>
<timeout-secs>2400</timeout-secs><!--seconds-->
</session-descriptor>
WebLogic Console ==> deployments / deployment name / Configuration / General / Session Timeout (in seconds)WebLogic Console 中的設定值, 就是 weblogic.xml 的值
方法二 : web.xml
<session-config>
<session-timeout>120</session-timeout><!--minutes-->
</session-config>
設定0或小於0則 session 永遠不會 time out (可參考 web-app_2_3.dtd 內的說明)
0 comments:
Post a Comment