sticky-sessionazure-web-app-for-containers

Maintaining Sticky Session in Azure Web App for Linux Container


I have an Azure Web App for Linux Container with PHP Web Application deployed as a single Container. This Azure Web App is running with minimum of two of instance and is setup to auto scale. This Web Application uses sticky session. Does the Azure Web App for Linux Container supports it? Is there any way I can set it up in Azure Web App for Linux Container?


Solution

  • Of course, the Azure Web App for Linux Container supports the sticky session. But in the Web App, it calls ARR affinity, if you need the sticky session, just enable it. In addition, it's enabled in default. You can take look at the document here. You can enable it if it was disabled:

    enter image description here