Changing Tomcat's Default Session ID (JSESSIONID)

John Doe ·

1123 Views

You can pass it as a parameter when starting the server.

-Dorg.apache.catalina.SESSION_COOKIE_NAME=MYJSESSIONID 
-Dorg.apache.catalina.SESSION_PARAMETER_NAME=myjsessionid

 

* Eclipse

Double click server - Open launch configuration

 

tomcat