Is there a way to let the user know that his Confluence session has expired due to session timeout?
Our users claim that they are not notified about not beeing logged in anymore after session timeout.
The only noticable change is the 'Log In' on the right top in the menu and that the search results only
retrieve the public results.
Hey there Harald, by default Confluence will redirect users to the login screen when their session times out. However, it sounds like your instance may be accessible anonymously. In that scenario, the redirection to the login screen doesn't occur, and instead users will see the "Login" link at the top right, and only be able to search public content, which you've reported.
In this case, you could do something like edit the main layout (Confluence Admin > Layouts > Main Layout) by adding a banner that would only display when the session ID becomes invalid. For that, you could use the $req request object (https://developer.atlassian.com/display/CONFDEV/Confluence+Objects+Accessible+From+Velocity) to call a method called isRequestedSessionIdValid, which tells you whether the current session ID is valid or not.
Hope this helps!
Which confluence version do you use?
I'm not sure if this is possible since confluence 5 as you always have the workbox requests (as long they are not disabled). -> https://confluence.atlassian.com/display/DOC/Configuring+Workbox+Notifications
If your session is invalidated confluence does not know that you had a previous session, so it might be challanging to implement something to inform the user... E.g. you need to differnetiate if a user closed the window or the session timed out while the browser was open.
If the workbox is not availlable due to an older confluence version or needs to be disabled, maybe increasing the session-timeout can help? -> http://www.jguru.com/faq/view.jsp?EID=415341
Thank's for the anser Steve, but it's not what we expect. (Were using 5.4, workbox is on!). We expect that e.g. I a user is logged out due to session timeout and put's in some text into the search box that a warning comes out theat the session has expired like it's done in online banking or other web applications. We do not want to implement it, but think this is a bit of useability Confluence should have!
If your workbox is on then your session can only time out when the refresh interval of the workbox is longer then the session timeout. Usually the session timeout is round about 30 min I think. The workbox should refresh every 5 min. So the workbox will keep your session alive and you can't drop in a session timeout while your browser/tab is open. Maybe you can check the two values. Besides, If you use the default login mechanism of confluence, there should be a checkbox to stay logged in after a session timeout ("Stay signed in"-checkbox) If all of this is not enough, you may need to open a feature request at http://jira.atlassian.com Regards Steve
Hello Community, Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...
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!
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