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!

Server Variables

Status
Not open for further replies.

TheConeHead

Programmer
Aug 14, 2002
2,106
US
I am trying to get an nt logon name and am doing:
<%
CUser = Request.ServerVariables(&quot;LOGON_User&quot;);
%>

CUser = <%=CUser%>


and get

CUser =

any ideas why it would not be getting anything for the logon name?
 
You will only get a value in the logon_user server variable if the user has authenticated to the server. You need to check that Anonymous access has been disallowed. Use the IIS console to do this.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top