IIS7 Itegrated Pipeline Mode: Context.User is intermittently null for Windows Auth

Posted by AndyV on Stack Overflow See other posts from Stack Overflow or by AndyV
Published on 2010-05-19T16:21:53Z Indexed on 2010/05/19 21:20 UTC
Read the original article Hit count: 271

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.

© Stack Overflow or respective owner

Related posts about iis7

Related posts about integrated-pipeline-mode