It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
I modify conf/web.xml and WEB_INF/web.xml like this <session-timeout>300</session-timeout>, but it seems session only keep in 5-10 minites, then I modify server.xml add '<Context docBase="${catalina.home}/atlassian-stash" ... defaultSessionTimeOut="3600" ..., also not work.
Charles O'Farrell,
I midified conf/web.xml to <session-timeout>3600</session-timeout> as your helps,but it seems not work, my environment is stash2.1.2 on suse linux sp10.
<!-- ==================== 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>3600</session-timeout> </session-config>
Hi Smith,
I'm pretty confident that's the file you need to modify. What are you seeing exactly? Are the sessions timing out at _exactly_ 5 minutes like the default is still applied, or are you being logged out at strange intervals?
Cheers,
Charles
Hi Charles,
First,I test timeout on a pc vpn to server, it seems not work. Just now I test it on LAN pc , It work well, thank your helps very much.
and the web.xml say "the default session timeout (
in
minutes)
" , the fact it is in seconds as you say.
Good lucky!
Smith
Hi,
Just want to verify:
Is it really is seconds? The default value in web.xml is 30 and the comment in the file states (in minutes)
I want to increase this to 6 hours. Should I use 360 or 21600?
Cheers,
// Svante
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreBitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.