How to adjust the session timeout for Confluence
By default, users will be automatically logged out after 60 minutes of inactivity. If you would like to change this interval, you can change the timeout by editing
Find this element and adjust the value. The value is specified in minutes.
<session-config> <session-timeout>60</session-timeout> </session-config>
After editing the
web.xml file you will need to restart Confluence for your change to take effect.
The default session timeout only applies when viewing Confluence pages. It doesn't apply when the editor is open. This is the expected behaviour.
The default location of the
web.xml file for Tomcat is
conf/web.xml, but this file is overridden by the file provided with your Confluence installation, at the location described above. If you are having trouble changing this setting, ensure that you have changed
<confluence_install>/confluence/WEB-INF/web.xml and NOT
In Versions of Confluence after 4.3, the Notifications and Tasks plugin sends out a heart-beat check for new notifications every 30 seconds. This artificially extended the session timeout past the value set in your web.xml. This is fixed in Confluence 5.4 - CONFSERVER-26796Getting issue details... STATUS .