tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51326] New: [Patch] allow session_path and session_cookie as extension attribute
Date Mon, 06 Jun 2011 05:53:40 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51326

             Bug #: 51326
           Summary: [Patch] allow session_path and session_cookie as
                    extension attribute
           Product: Tomcat Connectors
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Common
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: mashmk02@gmail.com
    Classification: Unclassified


Created attachment 27115
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27115
allow session_cookie and session_path as extension

session_path and session_cookie are configurable only in the load balancer
section of workers.properties.

It is not convenient because the cookie name can configure per web-application
on the Tomcat.

So I made the patch that allows session_path and session_cookie as extension
attribute.
I tested on Linux(CentOS5.4) and WindowsXP.

Note:
The semicolon is used as separator in the rule extension syntax, but in this
patch, it is not used as separator if there is a semicolon behind
"session_path=".

For example, the following config is allowed:
 /sample/*=lbw;session_path=;sessionid1
In this case, ";sessionid1" is used as path parameter name.

Regards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message