httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathias Herberts" <mathias.herbe...@gmail.com>
Subject Re: Bug 41897 / Session-Stickiness with mod_proxy_balancer
Date Mon, 02 Apr 2007 20:54:58 GMT
The message I posted earlier (in march) contains a patch to address this issue.

Mathias.

On 4/2/07, Georg von Zezschwitz <gvz@garnix.de> wrote:
> Hi,
>
> As I (with RĂ¼digers help :-) ) found out, there is already a bug report
> to my problem:
> #41897 describes the problem that the case-sensitivity of the
> "stickysession"-Parameter
> does not comply to the  Java Servlet Spec (Cookie: "JSESSIONID", url
> based session
> management ";jsessionid").
>
> To solve this problem in a backward compatible way, I'd like to suggest
> the following
> solution before writing a patch:
>
> Add two parameters "stickysessionpath" and "stickysessioncookie".
> "stickysessionpath" sets the session name for URL based session
> management and might
> be something like ";jsessionid". "stickysessioncookie" sets the session
> name for Cookie based
> session management.
>
> "stickysession" should set the session name for both parameters.
>
> Pro:
> - It does solve the problem
> - One can explicitly choose to use *only* one of the two algorithms.
> - Currently, only the sequence "<session name>=" is searched. However,
> in Java
>   environments, a ";jsessionid=" would be more precise...
>
> An alternative would be to have an option to search the session name
> case-insensitive.
>
> Could I get "votes" if my approach / an according patch is acceptable?
>
> Best regards,
>
>
>
> Georg
>
>
>
Mime
View raw message