Bug 48379

Summary: Session cookie domain and path configuration support
Product: Tomcat 6 Reporter: Brane F. Gracnar <bfg>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Severity: enhancement CC: bart.hazer, dconnard69, donn.aiken, jroper2, pokneetail
Priority: P2    
Version: 6.0.20   
Target Milestone: default   
Hardware: PC   
OS: Linux   
Attachments: Updated patch for this issue

Description Brane F. Gracnar 2009-12-11 08:43:07 UTC
This patch adds support for configuring session cookie domain and path 
parameter on per-context basis.

Configuration is done by editing META-INF/context.xml

<Context sessionCookiePath="/something" sessionCookieDomain=".domain.tld" />

Applies to 6.0.20.
Comment 1 Mark Thomas 2009-12-11 08:48:58 UTC
*** Bug 46976 has been marked as a duplicate of this bug. ***
Comment 2 Mark Thomas 2009-12-11 08:49:59 UTC
Created attachment 24698 [details]
Updated patch for this issue

Add the patch from the dev list that the OP forgot to attach
Comment 3 Mark Thomas 2010-03-10 08:29:09 UTC
See also https://issues.apache.org/bugzilla/show_bug.cgi?id=48258
Comment 4 Mark Thomas 2010-03-10 12:56:12 UTC
*** Bug 48258 has been marked as a duplicate of this bug. ***
Comment 5 Mark Thomas 2010-03-10 14:00:02 UTC
Bug 48258 implemented domain configuration and I've just added path config to trunk. Cookie name is next.
Comment 6 Mark Thomas 2010-03-10 16:22:36 UTC
This has now been implemented in trunk with a modified patch that takes account of the additional session cookie configuration options available in Servlet 3.0
Comment 7 Mark Thomas 2010-04-08 15:15:02 UTC
I have proposed a back-port of the TC7 changes for Tomcat 6.
Comment 8 Mark Thomas 2010-04-17 03:27:30 UTC
*** Bug 48774 has been marked as a duplicate of this bug. ***
Comment 9 Mark Thomas 2010-06-09 10:31:16 UTC
The patch has been applied to 6.0.x and will be included in 6.0.27 onwards.
Comment 10 Mark Thomas 2010-07-23 08:12:57 UTC
*** Bug 46930 has been marked as a duplicate of this bug. ***