Posted on 2006-11-06 13:29
W.R 閱讀(2106)
評論(0) 編輯 收藏 所屬分類:
支持技術(shù)
1 web.xml
設(shè)置WEB應(yīng)用程序描述符web.xml里的<session-timeout>元素。這個值以分鐘為...
單位,并覆蓋weblogic.xml中的TimeoutSecs屬性...
? <session-config>...
??? <session-timeout>54</session-timeout>...
? </session-config>...
此例表示Session將在54分鐘后過期...
當<session-timeout>設(shè)置為-2,表示將使用在weblogic.xml中設(shè)置的...
TimeoutSecs這個屬性值。...
當<session-timeout>設(shè)置為-1,表示Session將永不過期,而忽略在...
weblogic.xml中設(shè)置的TimeoutSecs屬性值。...
該屬性值可以通過console控制臺來設(shè)置...
...
2 weblogic.xml
設(shè)置WebLogic特有部署描述符weblogic.xml的<session-descriptor>元素的...
TimeoutSecs屬性。這個值以秒為單位...
<session-descriptor>...
?? <session-param>...
????? <param-name>TimeoutSecs</param-name>...
????? <param-value>3600</param-value>...
?? </session-param>...
</session-descriptor>...
默認值是3600秒
IT技術(shù)資料庫:http://www.ht960.com/lanmulist/lanmu4list1.htm