And it is put to the Context on every request i.e user is athenticated with
forms auth and then in Application_AuthenticateRequest you populate the
HttpContext with the Principal? I am asking because HttpContext is recreated
for every request which means that user details must also.
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
"Dan Bart" <dblist2003> wrote in message
news:fa87ff30.0311191706.6105d46bposting.google.c om...> I am using an application which is a modification of IBuySpy Portal.
> It is using Forms authentication. Users login and their name is added
> Then I use:
> to write audit trail as to what users do. Now recently on one of the
> activities I noticed that the
> Web.HttpContext.Current.User.Identity.Name was blank. Which should not
> have been possible?
> Can someone please tell me why this could have happened? And how I can
> prevent this?