In stickyseession mode, a route value is extracted from request line parameters or cookies. The route value from request line is invalid when many parameters is in a request line. For example, if a request line is http://www.examples.com/foo?bar=abc.01&baz=xyz.02 and stickyseession is "bar", the extracted route value is "01&baz=xyz.02". But supposed (and hoped) route value is "01". This is caused by the parameter separator is '?'. The right separator is '&'. A simple patch is available.
Created attachment 18810 [details] a patch for mod_proxy_balancer
Your patch would break session stickyness for other backends (e.g. java backends) which encode the session id differently into the URL like www.someplace.com/somewhere/;jsessionid=gggfgdufdfoef.server?parameter=value. Please give the attached patch a try. It accepts ? and & as separators.
Created attachment 18812 [details] patch to filter out sticky session from url given as parameter
I tried the above patch. It's OK. Will the patch be merged to 2.2.x line?
Thanks for testing. First of all I need to commit the patch to the trunk. I just did that as r440160 (http://svn.apache.org/viewvc?view=rev&rev=440160). If there are no further comments by other developers I will propose this patch for backport to 2.2.x.
Proposed for backport to 2.2.x as r440643 (http://svn.apache.org/viewvc?view=rev&rev=440643).
in 2.2.4-dev and trunk