J
jeremy.rice
Here's the dilemma:
I have an ASP.NET web app on Windows 2003, IIS 6 that uses
System.Web.HttpContext.Current.User.Identity.Name to display the user's
name on the page. If Jimmy opens the page from his computer, his name
gets displayed. Fine and dandy. However, when Ralph then opens the
page, from Ralph's machine, it displays Jimmy's name. If I use
System.Threading.Thread.CurrentPrincipal.Identity.Name, it displays the
correct names. I have never seen this before and could cause me some
serious headaches, considering I have been using
System.Web.HttpContext.Current.User.Identity.Name in all of my web
apps.
Can anyone shed some light/solution on the problem?
Thanks in advance,
Jeremy
I have an ASP.NET web app on Windows 2003, IIS 6 that uses
System.Web.HttpContext.Current.User.Identity.Name to display the user's
name on the page. If Jimmy opens the page from his computer, his name
gets displayed. Fine and dandy. However, when Ralph then opens the
page, from Ralph's machine, it displays Jimmy's name. If I use
System.Threading.Thread.CurrentPrincipal.Identity.Name, it displays the
correct names. I have never seen this before and could cause me some
serious headaches, considering I have been using
System.Web.HttpContext.Current.User.Identity.Name in all of my web
apps.
Can anyone shed some light/solution on the problem?
Thanks in advance,
Jeremy