M
Maria
Here's what I'm trying to do:
I have a web page that's calling the server variable LOGON_USER to retrieve
the userid of the person accessing it. The web has anonymous access
disabled, and Integrated Windows Authentication enabled. My userid is a
member of a security group that has access to the page. When I access this
page on my web server, it displays my userid without popping up the NT login
box. However, when I copy it to my production web server, the NT login box
pops up. I am certain my userid has access to the web on the production
server. In addition, if I don't enter anything on the login box and click
OK, it allows me into the page, and displays my userid. So, how do I
prevent the login box from popping up. If I enable Anonymous Access on the
web, LOGON_USER doesn't return anything, probably because the page is being
accessed with the IUSR_machinename account. My goal is to get the userid of
the person accessing the page -- provided they have security access to it --
without making them login.
Any ideas?
I have a web page that's calling the server variable LOGON_USER to retrieve
the userid of the person accessing it. The web has anonymous access
disabled, and Integrated Windows Authentication enabled. My userid is a
member of a security group that has access to the page. When I access this
page on my web server, it displays my userid without popping up the NT login
box. However, when I copy it to my production web server, the NT login box
pops up. I am certain my userid has access to the web on the production
server. In addition, if I don't enter anything on the login box and click
OK, it allows me into the page, and displays my userid. So, how do I
prevent the login box from popping up. If I enable Anonymous Access on the
web, LOGON_USER doesn't return anything, probably because the page is being
accessed with the IUSR_machinename account. My goal is to get the userid of
the person accessing the page -- provided they have security access to it --
without making them login.
Any ideas?