We have deployed 2 Linux VMs in a Backend Pool behind an Application Gateway. Our application on the 2 Linux VMs requires that the session remain on the same backend server, but we are seeing a session use both backend servers.
We are not seeing any outages on the backend servers.
We have the CookieBasedAffinity setting enabled.
Why isn't this working as we expect and what could be the problem?
UPDATE 1: Our app is called from another website but I don't see the Application Gateway cookie session value set, only our cookie values. Starting to suspect this is the issue...
UPDATE 2:
I no longer believe the issue described (badly) in Update 1 is the problem. Using Fiddler, I was able to see the cookie values in the call to my URL that was made and it contains the values for my app plus the ApplicationGatewayAffinity=
value. Back to the drawing board...
0 Answers