Hi. What happens if the same cookie is named in two (or more) backends? Is the "table" in which the cookie value is placed shared among backends, or is there a separate table per backend?
Here's what the doc says: When an application cookie is defined in a backend, HAProxy will check when the server sets such a cookie, and will store its value in a table, and associate it with the server's identifier. Up to <length> characters from the value will be retained. On each connection, haproxy will look for this cookie both in the "Cookie:" headers, and as a URL parameter in the query string. If a known value is found, the client will be directed to the server associated with this value. Otherwise, the load balancing algorithm is applied. Cookies are automatically removed from memory when they have been unused for a duration longer than <holdtime>. E.g., if I go to backend "A" and correlate JSESSIONID "EA327ED3F555F1998A5DB5528121DA0B" with server "A-1", but then get directory to backend "B" for some reason (because an ACL directs usage to it), but then JSESSIONID is set by a server in "B", will the first entry in the table be reset? Or are there separate tables per backend? Thanks. John

