Friday, June 29, 2012

HttpContext.Current.User is ending up null

Consider a Windows authentication gremlin. I have tried to upgrade an old application which uses HttpContext.Current.User to use C# 4.0 and Visual Studio 2010 and have thus requested an application pool that will support C# 4.0 in ISS and a side effect seems to be that HttpContext.Current.User is ending up null. This doesn't happen when I run locally in Cassini. It happens at IIS. Some links on this phenomenon are:

No comments:

Post a Comment