Jean-Frederic wrote:
We could do that then by using existing directive and decide
during configure time.
For example:
stickysession="JSESSIONID [C]" stickysession=";jsessionid [P]"
Does that mean that stickysession="JSESSIONID" will work as it does now?
Yes.
I don't think we need "Case insensitive" because that is the Cookie
name, the parameter name or the EnvVar name. Those values are normaly
well defined.
That is true for Servlets, but not necessary for others like
PHP or ASP.
So that would be something:
stickysession=JSESSIONID stickyurl=jsessionid stickyenv=MYSESSION
stickysession=JSESSIONID stickysession=;jsessionid stickysession=MYSESSION
would mean:
balancer->sticky[0]=JSESSIONID
balancer->sticky[1]=;jsessionid
balancer->sticky[2]=MYSESSION
balancer->sticky_case[0]=1
balancer->sticky_case[1]=1
balancer->sticky_case[2]=1
OTOH
stickysession="JSESSIONID [c]" stickysession="MYSESSION [E]"
or perhaps a different notation ...
stickysession=Cookie:JSESSIONID stickysession=Env:MYSESSION
would mean:
balancer->sticky[0]=JSESSIONID
balancer->sticky[1]=NULL
balancer->sticky[2]=MYSESSION
balancer->sticky_case[0]=0
balancer->sticky_case[1]=-1
balancer->sticky_case[2]=1
Regards,
Mladen.