IIS7 Itegrated Pipeline Mode: Context.User is intermittently null for Windows Auth
- by AndyV
Our code relies on checking the Context.User.Identity value in the Global.asax Application_AuthenticateRequest(...) method to retrieve some information about the logged in user. This works fine in classic mode but when I flip IIS to use the Integrated Pipeline "Context.User" comes back as null, but only intermittently. Any ideas why?
I have < authentication mode="Windows" and only Windows Auth enabled in the Virtual Directory.