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 -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -