dinger2121
Programmer
Hello,
I am trying to use HttpContext.Current.User.Identity.Name.ToString() to determine the identity of a user accessing a web application. This code works fine if I am running the application locally from the IDE, but when I copy the code to a server and access it, it is coming across as empty.
Does anyone have any idea why this might be happening?
Thanks
I am trying to use HttpContext.Current.User.Identity.Name.ToString() to determine the identity of a user accessing a web application. This code works fine if I am running the application locally from the IDE, but when I copy the code to a server and access it, it is coming across as empty.
Does anyone have any idea why this might be happening?
Thanks