Hi Mark Thanks for the response.
I have added org.apache.catalina.authenticator.Constants.SSO_SESSION_COOKIE_NAME and org.apache.catalina.SSO_SESSION_COOKIE_NAME in system properties. Gave the same cookie name for the both system properties. Now Its working. Is it mandatory to keep both the entries? Please advice. Regards, Mathan Karthik R ---- On Sat, 16 Jul 2011 02:48:50 +0530 Mark Eggers<its_toas...@yahoo.com> wrote ---- ----- Original Message ----- > From: Mathan Karthik <mathankarthi...@manageengine.com> > To: Tomcat Users List <users@tomcat.apache.org> > Cc: > Sent: Friday, July 15, 2011 1:30 PM > Subject: Re: How can i change JSESSIONIDSSO cookie name? > > Hi Mark > > Thanks for your swift response. Sorry i missed to mention my tomcat version. One > of my application using tomcat_6_0_28 and another application using > tomcat_5_0_28. > > I have added org.apache.catalina.SSO_SESSION_COOKIE_NAME and > org.apache.catalina.SESSION_COOKIE_NAME. Now my JSESSIONID cookie name got > changed. But JSESSIONIDSSO name didn't get changed. Am i missing anything? > > > Regards, > Mathan Karthik R A quick look at the docs (and javadocs) seems to indicate that this is not possible for 5.0.x. All interesting fields are public static final String. Time to upgrade. For 6.0.28, why did you change both? I was under the impression that you only wanted the SSO cookie name changed. >From the the documentation: org.apache.catalina.SESSION_COOKIE_NAME Note that the Servlet specification requires this to be JSESSIONID. You should not rely on being able to change this. How did you set the system property? Did you read this? http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q29 In particular, it's a good idea to create a setenv.sh file in $CATALINA_HOME/bin (or $CATALINA_BASE/bin if you're running several Tomcats from a base installation) and add the appropriate setting to CATALINA_OPTS. Something like: #!/bin/bash CATALINA_OPTS="-Dorg.apache.catalina.SSO_SESSION_COOKIE_NAME=JNONSTANDARDSSO" export CATALINA_OPTS might work. This is based on my reading of the documentation. I've not tried this. . . . . just my two cents. /mde/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org