I have read in the docs (https://azure.microsoft.com/en-us/documentation/articles/application-gateway-introduction/) that the Load Balancers support sticky sessions where the client will always be routed to the same server for the length of their session.

My questions:

  1. Is the property CookieBasedAffinity on the Application Gateway configuration for setting this?

  2. Do I set that property to true to enable sticky sessions?


Yes, CookieBasedAffinity is the setting that enables sticky sessions, and it should be set to true, with round robin used for new connections, as per the table in that document:

enter image description here

  • That was what I thought. The table is relatively confusing at first glance. Cheers. – Michael Coxon May 24 '16 at 7:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.