tomcat - Rename ColdFusion 10 JSESSIONID -
tomcat - Rename ColdFusion 10 JSESSIONID -
in before versions of coldfusion possible rename jsessionid modifying jrun-web.xml how possible in coldfusion 10 on windows server?
adding either
-dorg.apache.catalina.session_cookie_name=myid -dorg.apache.catalina.session_parameter_name=myid or
-dorg.apache.catalina.jsessionid=sid to jvm arguments under server settings > java , jvm not seem work.
i had posted comment upon researching may have stumbled upon answer.
coldfusion 10 installed modified version of tomcat - reference 1: what’s deal tomcat in coldfusion 10?
is inbuilt server in coldfusion 10 modified version of tomcat? if yes, changes , why?
yes, in-built server in coldfusion 10 modified version of tomcat. when started out, didn’t envision making changes in tomcat, realized people need seamless experience when move coldfusion 9 or previous version coldfusion 10. meant directory structure, features, connector experience - need close previous versions (jrun inbuilt server) possible.
it appears though modified tomcat version coldfusion built on tomcat version 7.0.23 - reference 2: getting started tomcat in coldfusion 10
in coldfusion 10 ,jrun bundled before versions of coldfusion has been replaced tomcat. coldfusion 10 runs on tomcat 7.0.23.
version 7 of tomcat no longer has session_cookie_name or session_parameter_name properties (which @ to the lowest degree explains why arguments added did not work) - reference 3: tomcat 7 session cookie configuration
with add-on of sessioncookieconfig in servlet 3.0 specification, number of session cookie configuration options have been removed cut down configuration , code complexity.
connector.emptysessionpath: has been removed. equivalent effect can obtained configuring sessioncookiepath="/" in global context.xml (in catalina_base/conf/context.xml). org.apache.catalina.session_cookie_name scheme property: has been removed. equivalent effect can obtained configuring sessioncookiename attribute global context.xml (in catalina_base/conf/context.xml). org.apache.catalina.session_parameter_name scheme property: has been removed. equivalent effect can obtained configuring sessioncookiename attribute global context.xml (in catalina_base/conf/context.xml). context.disableurlrewriting: has been removed. equivalent effect can obtained configuring session-config/tracking-mode elements in web application or in global catalina_base/conf/web.xml file.notice info states can equivalent effect configuring new sessioncookiename attribute of global context.xml file (in catalina_base/conf/context.xml). should able in file:
<context path="/your_uri" sessioncookiename="my_id"> reference 4
tomcat coldfusion coldfusion-10 jsessionid
Comments
Post a Comment