We're using asp.net mvc forms authentication and I remember in other web farm scenarios it's a good idea to make sure the machine keys match between servers. I'm about to sale the same web role from 1 to 2 and I'm curious if this step is necessary for Azure or does it take care of that? Thanks
Asked
Active
Viewed 769 times
1 Answers
2
Each role should share the same machine key explicitly. Azure only does this for you when you scale multiple instances of 1 web role, not add an additional separate role. For example we had to do this because 2 of our sites use the same authentication system. Since the .ASPXAUTH cookie is encrypted based on machine key values, the logins only work on both sites when they share the same machine key.

danludwig
- 46,965
- 25
- 159
- 237
-
thanks. Just so I'm 100% clear scaling the same web role from 1 to 2 instances azure will take care of matching machine keys correct? – NullReference Apr 10 '14 at 22:07