How to Remove the JSessionID Parameter from Confluence URL

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

There could be security concerns when the JSessionID appears in the URL's query string, as in .

To remove the JSessionID parameter from the URL query string:

  1. Shutdown Confluence
  2. Go to <confluence_installation_directory>/conf/web.xml
  3. Find <session-config>
  4. Within the <session-config> element add the following parameter:

    <tracking-mode>COOKIE</tracking-mode>
  5. Save the file

  6. Restart Confluence to pick up the change

Last modified on Jan 3, 2025

Was this helpful?

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