You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/06/06 07:53:40 UTC

DO NOT REPLY [Bug 51326] New: [Patch] allow session_path and session_cookie as extension attribute

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


DO NOT REPLY [Bug 51326] [Patch] allow session_path and session_cookie as extension attribute

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51326

Rainer Jung <ra...@kippdata.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Rainer Jung <ra...@kippdata.de> 2011-10-23 20:12:51 UTC ---
Thank you for your contribution.

I changed it slightly (putting the default initiaölization into
common/jk_util.c) and had to adopt it to other rule extension changes I made
earlier today.

It would be nice if your could test r1187963.

Will be part of 1.2.33.

Regards,

Rainer

-- 
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