What is the pros and cons in using FormsAuthentication to persist login cookie?
- by stacker
What is the pros and cons in using FormsAuthentication to persist a login cookie?
I see that StackOverflow ignore FormsAuthentication and instead implemented a different strategy to persist a login cookie.
Pros
Out of the box implementation for persistent login feature.
Cons
The login feature depends on the machine key which mean that I need to make sure that the machine key is the same on all the servers in the farm.
The cookie contains wired encrypted values that don't really make sense to store in the cookie.