Same user, simultaneous log in to JIRA and Confluence

We have JIRA 6.2 and Confluence 5.5 running on the same server, but under different Tomcats. All users are authenticated using JIRA Internal Directory. If a user is logged into JIRA and then logs into Confluence, his connection to JIRA is lost, but he is not returned to the JIRA login screen. Is there a way to return the user to the login screen if he logs into Confluence?

Thank you

1 answer

1 accepted

Hey Roland,

Probably you're running JIRA and Confluence on the same machine, without a contextpath for each one, so to solve this, you have to change the cookie name for either JIRA or Confluence.

I suggest you to change your JIRA cookie name, by adding this JVM opt to your startup:

-Dorg.apache.catalina.SESSION_COOKIE_NAME=JIRASESSIONID

You can add this JAVA_OPT by following this procedure.

After that, you'll need to restart your JIRA instance.

Best regards,

Felipe Alencastro

Hello Felipe,

Thank you for your response. Yes - I'm running both JIRA and Confluence on the same system. I changed the JIRA cookie name as you suggested above and this works as long as the user is using different browsers. If he opens both sessions using the same browser (chrome, firefox, IE), he is still logged out of his other session. But if he opens the sessions using different browsers, both sessions are functional.

I'd prefer that he be able to open both sessions by simply using different tabs of the same browser. Any additional thoughts?

Thank you,

Roland Mori

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

133 views 0 3
Join discussion

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