What is the pros and cons in using FormsAuthentication to persist login cookie?
        Posted  
        
            by stacker
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by stacker
        
        
        
        Published on 2010-05-21T21:11:04Z
        Indexed on 
            2010/05/22
            10:00 UTC
        
        
        Read the original article
        Hit count: 275
        
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 keywhich 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.
 
© Stack Overflow or respective owner