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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Request.ServerVariables("LOGON_USER")

Status
Not open for further replies.

Johno2090

Programmer
May 3, 2002
31
GB
I am currently using an IntraNet and am trying to use the command

Username = Request.ServerVariables("LOGON_USER")

so that i can identify the user and logg them into the intanet system however the Username comes back blank what have i done wrong and what should i have done?
 
This happens when the IIS security settings are set to allow Anonymous Login. You need to set it to NT Challenge Repsonse. However, this will prompt the user for their NT login and password on first use.
 
that will pose problems were running the server on 2000 server will this still work even though it wants an NT password???
 
Integrated windows authentication will never ask for password (this is in win 2k, in win nt it is the bottom one). This one works only with IE, if you were to use netscape the LOGON_USER would still be empty.
Basic authentication will ask the user to provide the IIS server with domain ,user and password info so the server knows the user. Thisone works allso for Netscape (as if you cared).
Anonymous basically allowes everyone.
 
thanx alot ill give it a try and tell you if its succesful!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top