0

Looking for application server neutral way of doing this. I would still appreciate all the available options.

Santosh
  • 17,667
  • 4
  • 54
  • 79

1 Answers1

0

The value of JSESSIONID depends on application server implementation of the servlet specification.

For tomcat, you can configure JSESSIONID with the jvmroute parameter in the Engine configuration : Apache Tomcat Configuration Reference.

Example: server.xml [...]

<Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">

[...]

HTTP Header received for a new session : [...]

Cookie:JSESSIONID=D258081D2030693CB1BD52992FFE6CFD.jvm1

[...]

Franck
  • 944
  • 14
  • 28