Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm reading the HAProxy manual and there is a part that I'm not understanding:

               If this option is specified, then haproxy will be able to learn
               the cookie found in the request in case the server does not
               specify any in response. This is typically what happens with
               PHPSESSID cookies, or when haproxy's session expires before
               the application's session and the correct server is selected.
               It is recommended to specify this option to improve reliability.

What does it mean "in case server does not specify any in response", specifically what is the server responding to, and what's the point of learning a cookie if the server doesn't specify one?

The issue of "when haproxy's session expires before the application's session" seems an important one but its handling by haproxy doesn't make sense to me here.

share|improve this question
Ask the author, perhaps? The wording is weird, but then he's not a native speaker. – sendmoreinfo Oct 28 '12 at 20:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.