How to change JSESSIONID cookie name in JBoss

Solution Verified - Updated -

Issue

  • Is it possible to change the name of the JSESSIONID cookie in JBoss?
  • Can I rename the cookies key name to something different than JSESSIONID in JBoss?
  • How can we control the characters used in JSESSIONID generation ?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 4.2 CP02 onwards
    • 4.3
    • 5.x
    • 6.x
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.