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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content