Re: Change name of session cookie
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 wrote: > 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 „JESSESIONID“ … > > Cheers, > -Tom > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Change name of session cookie
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: org.eclipse.jetty.servlet.SessionCookie XSESSIONID Sample context file: http://jetty.mortbay.org/configure.dtd";> /foo /wars/foo.war /contexts/override/foo_web.xml false false /etc/webdefault.xml Sample Override XML: http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; version="2.5"> org.eclipse.jetty.servlet.SessionPath /foo org.eclipse.jetty.servlet.SessionCookie XSESSIONID org.eclipse.jetty.servlet.SessionDomain .foo.com On May 16, 2014, at 6:13 AM, Tom Götz wrote: > 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 „JESSESIONID“ … > > Cheers, > -Tom > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org >
Change name of session cookie
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 „JESSESIONID“ … Cheers, -Tom - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org