I have a custom security principal object which I set in the global.asax for the current thread and all is well, no problems normally.
However, I\'m just adding a dy
in Global.asax.cs Session_Start() and Session_End() you need to use "this.Session" !! The reason for this is that HttpContext is only available when there is a request that is being processed. That is why you are getting a NULL on HttpContext.Current.Session!
From Microsoft website: "HttpContext Class: Encapsulates all HTTP-specific information about an individual HTTP request."
But don't feel bad ... i fell for this one too! :)