Hi guys. Is it possible to do load balancing based on a cookie, and if the cookie is not set, make HAProxy connect to a external service that returns a cookie value to HAProxy and make HAProxy assing this cookie before continue to the correct backend?
Example first time user: 1. Client connects, and no cookie is found. 2. HAProxy connects to IP/Port and gets a cookie value in return. 3. HAProxy sets this cookie. 4. HAProxy assigns backend based on cookie. Example on a returning user: 1. Cookie is found. 2. HAProxy assigns backend based on cookie. Thanks, Daniel Storjordet

