Change name of session cookie

2014-05-16 Thread Tom Götz
Hi, might be slightly offtopic, but: does someone know how to change to name of the session cookie from „JSESSIONID“ to something else (in Tomcat 7.0.42 and Jetty 6.1.26)?. Background: we have a Wicket app that runs inside an iFrame of another Wicket app, so we have two cookies named

Re: Change name of session cookie

2014-05-16 Thread Don Ferguson
In Jetty 7.3.0, I do this by: a) Deploying using a context xml file (in the jetty/contexts directory) b) Supplying an overrideDescriptor c) In the override descriptor, specifying: context-param param-nameorg.eclipse.jetty.servlet.SessionCookie/param-name param-valueXSESSIONID/param-value

Re: Change name of session cookie

2014-05-16 Thread Tom Götz
Ah, wrong. It seems that there’s only one cookie. But both apps seem to have the same session id (running in the same container) … -Tom On 16.05.2014, at 15:13, Tom Götz t...@decoded.de wrote: Hi, might be slightly offtopic, but: does someone know how to change to name of the session