Where does User.Identity data come from?
Posted
by niaher
on Stack Overflow
See other posts from Stack Overflow
or by niaher
Published on 2010-04-14T11:16:25Z
Indexed on
2010/05/25
2:51 UTC
Read the original article
Hit count: 234
asp.net-mvc-2
For example: if I am retrieving User.Identity.Name, does it come from .ASPXAUTH cookie or is retrieved from the database using my membership provider?
Are any database requests made when I access User.Identity?
Thanks.
EDIT: Right now I am pretty sure it comes from an authentication ticket cookie, but can't find any official documentation to confirm this. Anyone?
© Stack Overflow or respective owner