Hi,
I have site running on a Windows 2000 server on my (NT4) internal domain(TESTDOMAIN). I need to be able to display certain information on the web pages based on who is accessing the site. I'm trying to use Request.ServerVariables("LOGON_USER") to show me who is logged in, but I'm having trouble with it...
If a user is already logged onto TESTDOMAIN, I don't want them to have to re-enter their login information when they try to access the site.
I have DNS set up for the site as When I try to access the site through this hostname, the LOGON_USER variable is blank...I guess since IIS sees the user hitting the site as the IUSR_machinename anonymous account. If I access the site via it returns the correct domain user account. My problem is that I need to set it up using a dns host name....and if I remove anonymous access from the site, the users will be prompted for a username/password every time they hit the site.
How can I determine the user's TESTDOMAIN account name transparently when they try to access
Thanks very much in advance for any information!
I have site running on a Windows 2000 server on my (NT4) internal domain(TESTDOMAIN). I need to be able to display certain information on the web pages based on who is accessing the site. I'm trying to use Request.ServerVariables("LOGON_USER") to show me who is logged in, but I'm having trouble with it...
If a user is already logged onto TESTDOMAIN, I don't want them to have to re-enter their login information when they try to access the site.
I have DNS set up for the site as When I try to access the site through this hostname, the LOGON_USER variable is blank...I guess since IIS sees the user hitting the site as the IUSR_machinename anonymous account. If I access the site via it returns the correct domain user account. My problem is that I need to set it up using a dns host name....and if I remove anonymous access from the site, the users will be prompted for a username/password every time they hit the site.
How can I determine the user's TESTDOMAIN account name transparently when they try to access
Thanks very much in advance for any information!