On 19 December 2012 18:32, Les Stroud <[email protected]> wrote:
> Is it possible to configure haproxy to check for the presence of a specific 
> cookie, make an http call to verify the validity of that cookie (sso server), 
> and direct/redirect the traffic based on the result?

Even if you could persuade an HAP config to do this, I personally wouldn't.

In conjunction with HAP for the load-balancing, I'd use something
where the purpose is even just /slightly/ closer to the daemon's
intended/common use. Like nginx
(http://ls4.sourceforge.net/doc/howto/ddt.html) or Varnish
(http://highscalability.com/blog/2012/9/12/using-varnish-for-paywalls-moving-logic-to-the-edge.html).

Keep HAP for what it's awesome at - routing requests based on backend
*health*, not backed *logic*.

My 2 cents,
Jonathan
--
Jonathan Matthews // Oxford, London, UK
http://www.jpluscplusm.com/contact.html

Reply via email to