confluence user session timeout


Despite the various posts that show or refer to pages where user session time out is documented, I still have issues in my Confluence 4.2.8 system where my user session times out in 15 minutes.

I checked all the posts and atlassian docs, and there is mention of 300 minutes etc. However, this is not the behavior I see in Confluence, and changing the 300 value in web.xml for example does nothing to change the user session timeout time of 15 minutes.

Atlassians, or fellow Answers users, can you spend some quality time on documenting this correctly with information that actually makes the change work? We need to know how to change the user session timeout from the current 15m to something more. And yes, I've tried some examples (please also do this) and let me know why web.xml 300 does not mean 15min user session timeout, or what I need to set to change the 15min user session time out to say 30 or 45 min? (and in this case, what the 300 means in session-config in web.xml?

We're losing a lot of page edits in Confluence and are facing somewhat of a revolt in the user community about lost content and wasted time using Confluence.

2 answers

1 accepted

4 votes
Answer accepted

In my experience, the most common hangup that cause session-timeouts not to be respected is that you set your session-timeout in the <confluence-install>conf/web.xml instead of the <confluence-install>/confluence/WEB-INF/web.xml. If you set the config in the Tomcat XML in the conf directory, the setting will be overridden by Confluence's webapp XML.

I am using 4.0 so not sure if it changed but the session timeout is in minutes in the web.xml. I usually set it to 120 and don't have that issue. Obviously remember to restart Confluence after you make the update...adding this as a comment and not an answer as our versions are pretty different..

<!-- ==================== Default Session Configuration ================= -->

<!-- You can set the default session timeout (in minutes) for all newly -->

<!-- created sessions by modifying the value below. -->




Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

261 views 2 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you