Changing cookie JSESSIONID name

前端 未结 7 1860
自闭症患者
自闭症患者 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.

    0 讨论(0)
提交回复
热议问题