Tomcat/Jboss 中自定义 SESSION_COOKIE_NAME
即把session id的cookie名从默认的JSESSIONID改成其它的什么名字。解决办法是把这些名字以system property方式注入: Tomcat http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html#Sessions org.apache.catalina.SESSION_COOKIE_NAME An alternative name for the session cookie. Defaults to JSESSIONID. Note that the Servlet specification requires this to be JSESSIONID. You should not rely on being able to change this. org.apache.catalina.SESSION_PARAMETER_NAME An alternative name for the session path parameter. Defaults to jsessionid. Note that the Servlet specification requires this …