How do I change the default session timeout

'How Do I...' and 'How to...' Guide to Stash

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

To change the default (30 minutes) session timeout you must edit the file web.xml. This file can be found in <Stash installation directory/conf/web.xml.

The element you want to edit in the web.xml file is:

<web-app ...>
...
  <!-- ==================== Default Session Configuration ================= -->
  <!-- You can set the default session timeout (in minutes) for all newly   -->
  <!-- created sessions by modifying the value below.                       -->
    <session-config>
        <session-timeout>30</session-timeout>
    </session-config>

...
</web-app>

The value within the session-timeout tag defines the amount of time the session will exist, in minutes.

Note that after editing the web.xml file you will need to restart Stash for your change to take effect.

Last modified on Aug 5, 2013

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.