grab System.Web.HttpContext.Current.User.Identity.Name at Application_AuthorizeRequest instead of Application_AuthenticateRequest when upgrading a site from IIS6 to IIS7
The Application_AuthenticateRequest method in Global.asax.cs isn't going to work anymore.
You can grab it at PostAuthenticateRequest, which is a little earlier in the request processing if you need it.
ReplyDeletecool. thank you.
Delete