What is the content of ASP.NET FormsAuthentication cookie value?
Asked Answered
S

1

8

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)?

Spiral answered 21/5, 2010 at 21:2 Comment(0)
Y
5

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.

Ynes answered 21/5, 2010 at 21:14 Comment(3)
Thanks. I never really understand how to find something in MSDN, except throw Google. How did you find this article?Spiral
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 :-)Ynes
:) MSDN have a lot of good articles. we just need to explore the way that we can find them.Spiral

© 2022 - 2024 — McMap. All rights reserved.