HttpSessionJBoss timeout can be set at three different levels:
Web Deployer: web.xml
<session-config>
<session-timeout>30</session-timeout>
</session-config>
, , WEB-INF/web.xml. DTD :
<!ELEMENT session-config (session-timeout?)>
https://developer.jboss.org/wiki/HttpSessionTimeout
session-timeout - , -. - . - 0 , . : session-config
<!ELEMENT session-timeout (#PCDATA)>
- # 3 To override the value of a global and web application for a single client,
call
HttpSession.setMaxInactiveInterval(int seconds)
source
share