I am trying to make a MVC application. In my _LoginPartial.cshtml,
I can use User.Identity.Name variable, which gives the username of current session, though any reference was specified otherwise. So, likewise, I thought User.Identity.Name would be also available in Global.asax, but it's not. My login system saves the username and password in cookie. Is there a way to recall the current username in Global.asax?