473,385 Members | 1,562 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 2575
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: yatharth | last post by:
I am facing a problem ,the situation is like this. I have a home page named "Index.html" ,on which there is login link,when i click on the login link the login popup opens and user enter the...
1
by: Kalyani | last post by:
Hi, I have a page with a button.On click of this button a popup window opens.Now if this window is kept open until session timeout then login page opens in the same window. Now I want that the...
2
by: Grant | last post by:
Hi, I am using Windows Authentication but want to force a login popup even if the users login is authenticated. This would allow other people to use my computer while im logged in to access and...
1
by: ABC | last post by:
After the application user login, when I click the master page button, it popup window using javascript's window.showModalDialog function as: Response.Write("<script...
1
by: gvrajkumar | last post by:
Hi Popup window is opened and after some time session has expired. After session expire, if the user tries to make any actions on the popup page the user is redirected to login.jsp page. What...
1
by: cyberteck | last post by:
hi all, I have a page which i have two condition on this page. if it follows the first condition then it simply open the popup page and do something and it get closed. but in case of second...
4
by: goscottie | last post by:
I used submodal as my popup window. With some tweaks, it working great in my app. However, I can't find a way to detect session timeout in the popup window. The app is a form based...
1
by: sweetneel | last post by:
hi all, i am developing an asp.net Application. when i am clicking a link , it opens a pop up (login page). after successfull login , the disignated url opens in the popup window. this is a problem....
1
by: Jeyush | last post by:
Hey buddy, I have three pages 1)index.php 2)login.php 3)client.php. When I click on "login" on index.php page, it opens a popup. When I submit that login page at that time I want to redirect...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.