Solved

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

Posted on 2003-11-30
10
1,910 Views
Last Modified: 2012-06-21
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?
0
Comment
Question by:ManSree
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 4

Expert Comment

by:c_swanky
ID: 9848387
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
 

Author Comment

by:ManSree
ID: 9848416

"Anonymous access" is unchecked for the asp file.

We do have multiple servers. But we have only one web server.
0
 
LVL 4

Expert Comment

by:c_swanky
ID: 9848556
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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

Author Comment

by:ManSree
ID: 9848577

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
 
LVL 4

Expert Comment

by:c_swanky
ID: 9848592
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
 

Author Comment

by:ManSree
ID: 9848606
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
 
LVL 4

Expert Comment

by:c_swanky
ID: 9855246
ManSree - Please don't forget to close this question now that you have figured out the problem.
0
 

Author Comment

by:ManSree
ID: 9855813
How do I close this question?. I'm new to this site.
0
 
LVL 4

Accepted Solution

by:
c_swanky earned 125 total points
ID: 9855851
0
 

Author Comment

by:ManSree
ID: 9855907
Pls close this question.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
This video teaches users how to migrate an existing Wordpress website to a new domain.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question