Re: Haproxy & un-usual session tracking

From: Aleksandar Lazic <al-haproxy#none.at>
Date: Mon, 26 Nov 2007 00:14:37 +0100


Hi,

On Son 25.11.2007 23:27, Benoit wrote:
>
> I'm currently trying to replace an over-weighted apache2.2 + mod_proxy
> to build a reverse-proxy in a mutualised environnement.
>
> Actually i need to work around some bugs in the applications server
> and i need to keep track of some kind of session: a virtualhost must
> be, if possible, served by the same back-end web server regardless of
> the user.

Is it possible to use cookies on the client site?

Have you looked into the
http://haproxy.1wt.eu/download/1.3/doc/architecture.txt doc ;-)

  1. Simple HTTP load-balancing with cookie insertion

> There is a finite number of virtualhost so it shouldn't be such a
> problem as keeping track of user sessions but i can't find anything in
> the documentation for this kind of session.
>
> I'm also looking on pound and this wasn't a problem:
> Session
> Type Header
> ID "Host"
> TTL 3600
> End
> But it's otherwise quite limited.

What happens if all backends send the same host-header?!

> Any hint ?

Maybe the '2.11) Application Cookies' can help?

It will help when you try to explain/declare what/which application server you have ;-)

Cheers

Aleks Received on 2007/11/26 00:14

This archive was generated by hypermail 2.2.0 : 2007/11/26 01:00 CET