I'm working on an ASP.Net MVC website that is deployed to a Windows Azure Website. The site uses cookieless session with the RedisSessionStateStore provider. The site works fine in a local dev environment, but when deployed to Azure, any request to the site causes an infinite redirect loop. Each loop tries to generate a new session Id in the url.
I've tried the following, but have not got any of these to work.
- Tried disabling Arr Session Affinity. This was suggested on another forum, but it does not work. I've tried using web.config and c# to set the Arr-Disable-Session-Affinity header to true, but the ArrCookie remains.
- Tried InProc session
- Tried setting regenerateExpiredSessionId to false
Please let me know if it is possible to get cookieless session working when deployed to Windows Azure website. If so, how? Also, is there any reason why none of my attempts to disable Arr Affinity cookie worked?