linux's docs

tomcat 1.1.0 参数-sessionCookieName

1. sessionCookieName简介

The name to be used for all session cookies created for this context. If set, this overrides any name set by the web application. If not set, the value specified by the web application, if any, will be used, or the name JSESSIONID if the web application does not explicitly set one.


2. 设定实例

vim $CATALINA_BASE/conf/server.xml
<Context path="" docBase="/path/to/yourprojectfolder" debug="0" reloadable="false" sessionCookieName="yourcookieName" />