DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38357>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38357





------- Additional Comments From [EMAIL PROTECTED]  2007-04-05 13:55 -------
(In reply to comment #9)
> This is not the point. If you only use the random session ID string you run 
> into
> the following problems that we avoid with our approach:

Good points, and thanks for explaining them.


> do this within httpd. Something like
> 
> Header add Set-Cookie "MYCOOKIE=SOMEVALUE.%{BALANCER_WORKER_ROUTE}e; path=/;"
> env=BALANCER_ROUTE_CHANGED

This is great, thanks again; one thing I note is that the route ID seems to
include the '.', so it seems better to prefix the `routeid` params in the
BalanceMember configs with '.', and leave it out of the Set-Cookie
header-manip.  As such:

  Header add Set-Cookie "app_lb=%{BALANCER_WORKER_ROUTE}e; path=/;"
env=BALANCER_ROUTE_CHANGED

  <Proxy balancer://our-app>
        BalancerMember http://host1:8080 route=.host1
        BalancerMember http://host2:8090 route=.host2
  </Proxy>


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to