Bug 48379 - Session cookie domain and path configuration support
Summary: Session cookie domain and path configuration support
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 6.0.20
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
: 46930 46976 48258 48774 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-11 08:43 UTC by Brane F. Gracnar
Modified: 2014-02-17 13:50 UTC (History)
5 users (show)



Attachments
Updated patch for this issue (9.12 KB, application/octet-stream)
2009-12-11 08:49 UTC, Mark Thomas
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***