Removing NT popup login box

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?
 
C

Chris Hohmann

Aaron Bertrand - MVP said:
Chris, if this were the case (that a client-side setting fixed the issue),
wouldn't the problem be observed on both machines without your noted mod
below, and disappear on both machines after your mod?

I still maintain that there is a difference between the servers...

It's not immediately obvious in the OP, but I believe the phrase "When I
access this page on my web server..." means that she is running a
IIS/ASP locally as a development platform (as do I). Therefore, if the
Tools>Internet Options>Security>Local Intranet>Sites>Include all local
(intranet) sites not listed in other zones option were selected,
localhost would participate in the Local Intranet zone, while the
production server would participate in the Internet zone. Although I
could be entirely off base.

-Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top