Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Interesting Authentication Problem

Status
Not open for further replies.

bigfoot

Programmer
May 4, 1999
1,779
US
I wanted to know who is signed on in my intranet so I can look up their info. I created a wUser class that I pass the http request to like this:
wUser.GetWebUser(Request.ServerVariables("LOGON_USER").ToString())

And on my web site, this returns the current user. On my development machine, it returns nothing because I don't sign in. Any way around this?

How can I know if I am on my local box?
I don't know how to ask what I want, but this is messing me up.
 
check on your local box server if you have anonymous access enabled, disable it and turn on windows authentication.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top