Forum Moderators: open

Message Too Old, No Replies

identify the user on a company intranet

         

hal12b

10:02 pm on Feb 3, 2011 (gmt 0)

10+ Year Member



I am trying to capture the user on a local intranet. This code works --> lbltest.text = User.Identity.Name

But oddly, it only works in Firefox, not IE (which 99% of the employees use) and it doesn't work in Safari.


Any ideas?

Ocean10000

1:27 am on Feb 4, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



My understanding of the property it will pull authenticated user information. And with that the person using Firefox loged in via a webform, and is passing the authentication cookie to the rest of the website. And this is why that property returns something for that user in firefox and no one else.

Reference
HttpContext.User Property [msdn.microsoft.com]

hal12b

1:22 pm on Feb 4, 2011 (gmt 0)

10+ Year Member



Thanks...