Changing cookie JSESSIONID name

前端 未结 7 1892
自闭症患者
自闭症患者 2020-12-04 21:18

I have a requirement of having to run multiple tomcat server in single physical box. While accessing these from a browser, when user switches between the applications, it re

7条回答
  •  臣服心动
    2020-12-04 22:01

    By Using two following system properties this can be achieved with ease.

    • org.apache.catalina.SESSION_COOKIE_NAME
    • org.apache.catalina.SESSION_PARAMETER_NAME

    Any value can be passed to above properties to change the default values.

    Here complete details with some sample script is found.

提交回复
热议问题