c# - MVC Reference difference (User.Identity.Name) -


i trying make mvc application. in _loginpartial.cshtml,

i can use user.identity.name variable, gives username of current session, though reference specified otherwise. so, likewise, thought user.identity.name available in global.asax, it's not. login system saves username , password in cookie. there way recall current username in global.asax?


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -