How to save login session after browser window closed

Tim_Brigham November 26, 2012

I would like to configure my applications (Crucible & Fisheye, Confluence, Jira, Bamboo all of which use Crowd with the SSO option) to persist their login information across having the browser window closed. Is this possible?

I have verified that cookies are not being auto deleted by the browser when the window is closed however the sessions aren't persisting. I'm not seeing a ready way to address this in the documentation. I have already increased the session timeout to one day which should be the frequency my users need to log in.

Each application is running on a dedicated box, mostly Linux based. The context for all applications (other than bamboo) is set to be the root.

1 answer

0 votes
William Zanchet [Atlassian]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 26, 2012

Hi Tim,

Actually this problem is related with the context path. Basically it seems that all the requests are coming from one host. For example, http://localhost:8085 -> Confluence http://localhost:8090 -> JIRA http://localhost:8095 -> Bamboo.

We have to create a context path, making Confluence be like this: http://localhost:8085/Confluence JIRA: http://localhost:8090/JIRA, that why Crowd will know which cookie to get.

To create a context path for Confluence you should check this documentation: https://confluence.atlassian.com/display/DOC/Using+Apache+with+mod_proxy

For Bamboo:
https://confluence.atlassian.com/display/BAMBOO/Changing+the+Root+Context+Path

For Fisheye:
https://confluence.atlassian.com/display/FISHEYE/Configuring+the+FishEye+web+server

For JIRA:
https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apache

I hope this helps.

Cheers,

WZ

Tim_Brigham November 26, 2012

My applications each have a dedicated server to support them and none are using Apache as a front end. As such I specifically want to keep the context path as root for these hosts. Any other suggestions?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events