469,352 Members | 1,945 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,352 developers. It's quick & easy.

Removing NT popup login box

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?
Jul 19 '05 #1
2 2454
That's what I was thinking, but have no idea what it might be. Anyone?

"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:e%****************@TK2MSFTNGP09.phx.gbl...
I forgot to mention it IS in the same domain, which makes sense since it
lets me into the page if I hit OK without entering any userid or
password.
Well, then there's a different setting somewhere between your test box and
your production box.

Jul 19 '05 #2
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:u7**************@tk2msftngp13.phx.gbl...
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
Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Kalyani | last post: by
2 posts views Thread by Grant | last post: by
1 post views Thread by gvrajkumar | last post: by
4 posts views Thread by goscottie | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.