Search squid archive

Re: How to keep session?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On tor, 2008-06-12 at 18:13 +0800, Ken W. wrote:
> I have two original servers behind Squid boxes.
> How to keep requests from the same client always going to the same
> original server?

the srchash selection mechanism is intended for this, routing requests
with the same source IP to the same server.

It's also possibe to do it based on some server-unque property of the
session cookies issued by your server by using the req_header in
cache_peer_access. Just make sure the session cookie is temporary or
failover situations when one of the servers is down gets a bit tricky..	

Regards
Henrik

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux