Request.servervariables("LOGON_USER") gives an empty string on client machines with Windows XP

IIS 5.0 is installed on windows 2000 web server. The client machines are using windows XP. Request.servervariables("LOGON_USER") gives an empty string on client machines. but this is working on the server. "Anonymous Access" is unchecked. "Integrated Windows Authentication" is checked in IIS.

Any idea?
ManSreeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

c_swankyCommented:
I've only seen this if  "Anonymous Access" is CHECKED.

Just to make sure, go into IIS and navigate all the way down to the FILE LEVEL, open the properties for the .asp file (NOT the folder), check the File Security and make sure the Anonymous Access" is unchecked there.

Do you have multiple severs?


0
ManSreeAuthor Commented:

"Anonymous access" is unchecked for the asp file.

We do have multiple servers. But we have only one web server.
0
c_swankyCommented:
Have you tried creating a simple .asp like this?

<%
Response.Write("AUTH_USER" & Request.ServerVariables("AUTH_USER") & "<br>")
Response.Write("LOGON USER" & Request.ServerVariables("LOGON_USER") & "<br>")
Response.Write("REMOTE_USER" & Request.ServerVariables("REMOTE_USER") & "<br>")
%>

When calling this page are you getting any errors on the CLIENT'S machine?

Also you can check the following setting on the CLIENT’S browser:
Tools > Internet Options
Click the “Security” Tab
Click the “Custom Level” button
Scroll to the very end (look for “User Authentication”)
What’s is this set to?
0
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

ManSreeAuthor Commented:

I found out the problem. The server was not joined to the domain properly. I had the server joined the domain and do some small tricks, which solved the issue.

Thanks a lot for all your help!!!
0
c_swankyCommented:
Cool!

Just for future ref, were you getting an error on the client's machine when attempting to access the page? if so what was it?
0
ManSreeAuthor Commented:
Since "Anonymous access" was unchecked, the user is prompted for User id & password.

The client's browser setting : Automatic logon only on Intranet zone is selected.
0
c_swankyCommented:
ManSree - Please don't forget to close this question now that you have figured out the problem.
0
ManSreeAuthor Commented:
How do I close this question?. I'm new to this site.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ManSreeAuthor Commented:
Pls close this question.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.