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
Post a Comment