[undertow-dev] jsession cookie path set to /

Stuart Douglas sdouglas at redhat.com
Thu Nov 14 16:50:29 EST 2013


The option already exists, via jboss-web.xml for a deployment, or for all deployments in wildfly. This is just a one liner in wildfly to make it default to the context path.

Stuart

----- Original Message -----
> From: "Nick Scavelli" <nscavell at redhat.com>
> To: "Stuart Douglas" <sdouglas at redhat.com>, "Bill Burke" <bburke at redhat.com>
> Cc: undertow-dev at lists.jboss.org
> Sent: Thursday, 14 November, 2013 9:22:59 PM
> Subject: Re: [undertow-dev] jsession cookie path set to /
> 
> There should be an option to set it to something. I believe this is the
> sessionCookiePath setting in tomcat. I know we set it to "/" for portal.
> 
> On 11/14/2013 11:52 AM, Stuart Douglas wrote:
> > This does sound like a bug.
> >
> > Stuart
> >
> > ----- Original Message -----
> >> From: "Bill Burke" <bburke at redhat.com>
> >> To: undertow-dev at lists.jboss.org
> >> Sent: Thursday, 14 November, 2013 3:58:00 PM
> >> Subject: [undertow-dev] jsession cookie path set to /
> >>
> >> the JSESSION cookie path seems to be set to '/'.  This will bleed
> >> sessionids between deployed WARs.  I think it bleeds cached sessions too?
> >>
> >> I'll log a bug unless it is by design.
> >>
> >> --
> >> Bill Burke
> >> JBoss, a division of Red Hat
> >> http://bill.burkecentral.com
> >> _______________________________________________
> >> undertow-dev mailing list
> >> undertow-dev at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/undertow-dev
> >>
> > _______________________________________________
> > undertow-dev mailing list
> > undertow-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/undertow-dev
> 
> 


More information about the undertow-dev mailing list