I have a slight problem and not sure if is the code or the settings in IIS. I want to grab the NT User Name but it keeps coming back blank.
logon = Request.ServerVariables("LOGON_USER"
Response.write logon.
I am using IIS 4.
I took off the Anonymous Access and tried using Basic Authentication that prompted for a log in but did not grab the User Name. (Now Prompting for a login is not what is requested so that will not work for this project.)
I also tried Windows NT Challenge/Response with no result at all.
Together also gets no result.
On the Web Server, I also tried to log in locally and on the domain, didn't think it would matter but I am trying anything.
I have not changed anything on the browser thinking that would have nothing to do with it. So it does have something to do with it please advise.
Thank you in advance.
AJ
I would lose my head if it wasn't attached.
logon = Request.ServerVariables("LOGON_USER"
Response.write logon.
I am using IIS 4.
I took off the Anonymous Access and tried using Basic Authentication that prompted for a log in but did not grab the User Name. (Now Prompting for a login is not what is requested so that will not work for this project.)
I also tried Windows NT Challenge/Response with no result at all.
Together also gets no result.
On the Web Server, I also tried to log in locally and on the domain, didn't think it would matter but I am trying anything.
I have not changed anything on the browser thinking that would have nothing to do with it. So it does have something to do with it please advise.
Thank you in advance.
AJ
I would lose my head if it wasn't attached.