Web.HttpContext.Current.User.Identity.Name is blank

From: Dan Bart (dblist2003_at_yahoo.com)
Date: 11/20/03


Date: 19 Nov 2003 17:06:03 -0800

I am using an application which is a modification of IBuySpy Portal.
It is using Forms authentication. Users login and their name is added
to
Context
Then I use:

Web.HttpContext.Current.User.Identity.Name

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?

 

Thanks,

 

db