What is the content of ASP.NET FormsAuthentication cookie value? How can I see the real value of the hashed string (in case that I have the decrypted key)?
+2
A:
Here you have all necessary information about the content of the authentication cookie
http://msdn.microsoft.com/en-us/library/ff647070.aspx
Check the section "Forms Authentication Cookies"
FormsAuthentication.Decrypt
would decrypt the authentication ticket included on the forms authentication cookie.
Claudio Redi
2010-05-21 21:14:26
Thanks. I never really understand how to find something in MSDN, except throw Google. How did you find this article?
stacker
2010-05-21 21:18:25
Well, the first article is a good reference for forms authentication so I have it bookmarked. I knew also about the method FormsAuthentication.Decrypt so it was just a question of looking for it on google. If I'm not sure what I'm looking for I just try different combination of terms on google until I'm lucky :-)
Claudio Redi
2010-05-21 21:24:35
:) MSDN have a lot of good articles. we just need to explore the way that we can find them.
stacker
2010-05-21 21:29:54