thanks! it worked. On Thu, Sep 18, 2014 at 5:19 PM, Mark Eggers <its_toas...@yahoo.com.invalid> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 9/18/2014 2:13 PM, Shrileckha Chaithanya wrote: > > Thx for responding. I did like look at this link. Can you provide > > with proper syntax to rename the cookie name? > > > > Sent from my iPhone > > > >> On Sep 18, 2014, at 5:01 PM, Felix Schumacher > >> <felix.schumac...@internetallee.de> wrote: > >> > >> > >> > >>> On 18. September 2014 21:33:20 MESZ, Shrileckha Chaithanya > >>> <cshrilec...@gmail.com> wrote: Hi Tomcat team, > >>> > >>> I need to rename the JESSIONID cookie name to MKTSESSIONID. > >>> > >>> I updated the catalina.bat file to use below. > >>> > >>> can you pls help? > >>> > >>> set JAVA_OPTS=%JAVA_OPTS% > >>> -Dorg.apache.catalina.JSESSIONID=MKT2SESSIONID > >> That seems to be a jboss option. For tomcat 6 you can use > >> org.apache.catalina.SESSION_COOKIE_NAME and for tomcat 7+ you can > >> set it in the context. See > >> http://tomcat.apache.org/migration-7.html#Session_manager_configuration > . > >> > >> > >> > Regards > >> Felix > >>> > >>> Thanks, Shrileckha Chaithanya > > For Tomcat 7: > > > http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Common_Attributes > > For Tomcat 8: > > > http://tomcat.apache.org/tomcat-8.0-doc/config/context.html#Common_Attributes > > Look for sessionCookieName > > Setting an attribute on an XML node in general: > > <Context sessionCookieName="FOO"> > </Context> > > . . . just my two cents > /mde/ > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.13 (MingW32) > > iQEcBAEBAgAGBQJUG0xFAAoJEEFGbsYNeTwt42wH/jTDrR2miK5lydLGi4ZGFNrk > UluQQP6msjuhp9vIxvPU1zUkXxC5A96GldAygIRs1DijAju7igHQ0AoVv/GP/Kd4 > WpIY8OOzxgESxmrDuEexiQQ1WYUlsuH/2RuB1fIfDl8hQ4aJpNljfkp2Sb6TCp0T > xBIO7+v2zM2JgOZqQMCV7PkbOABtAvVBg7T7DVxfLeCZmnhcbsoccugKL9HnQ7xz > kAOv70FYXo4jABbF1GMONQWOQ2tp/bZO9Rx+THwGhEvyADHeIZgOZEZDESfptdZy > bGzOWmINm4B13Vq6JpPLaFL8F5ssPXSwdUbwwhGRyHga8Awm0qTnQhAcEta7u0w= > =UiDX > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >