473,383 Members | 1,829 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,383 software developers and data experts.

Request.ServerVariables("LOGON_USER") acting differently on 2 serv

We have an intranet where a majority of users are in our active directory,
but not all. We have recently upgraded to using asp.net on our servers and
during the rollout ran into a problem. The users in the non-active directory
list could not access the website because of integrated security. Well after
figuring out how to solve our problems, we have one problem left (which is
actually one of our solutions). On the default.asp page we have created a
redirect depending on what is returned from
Request.ServerVariables("LOGON_USER"). If the user is an active directory
user, they go to the default.aspx page, if they are not an active directory
user, they go to the default_original.asp page. This works on our test
server, but not on our production server.

On the test server, we get the user domain and name, on the production
server we get an empty string. The servers are identical (Windows 2003), and
the IIS is 6.0 and the website appears to be setup the same (security).

Anyone have any suggestions on how to fix this, or where to look?

Thank you,
Lyners
Dec 5 '05 #1
0 1346

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Amitava Bardhan | last post by:
Request.servervariables("Logon_USer") is working perfectly well for one asp page returning the NT userid as expected but returning an empty string for another asp page.Both the asp pages are in the...
5
by: T. | last post by:
Hello, I'm trying to pull the logon user's name using Request.ServerVariables("LOGON_USER")...which is returning nothing...so I need help in determining why it's returning nothing, or I need the...
1
by: Amitava Bardhan | last post by:
Request.servervariables("Logon_user") returns and empty string on one asp page but works perfectly well returning the NT user id on the other asp page. Both the pages are in the same directory....
0
by: Amitava Bardhan | last post by:
Request.servervariable("Logon_User") working perfectly well returning the NT userid on one asp page but returning an empty string on the other asp page though both the asp pages are in the same...
1
by: dmjames | last post by:
For one of our machines, Request.ServerVariables("LOGON_USER") is returning the wrong value. Person A is logged into the machine (I watched him log in), but when he retrieves an aspx page...
3
by: Jeff Cochran | last post by:
First time I've seen this and I'm not even sure where to look for the answer. An ASP page with only this code: <% Response.Write "User: " & Request.ServerVariables("LOGON_USER") %> On most...
1
by: Ryan | last post by:
I am trying to figure out why I am trying to use the result of Request.ServerVariables("LOGON_USER") in a query in my aspx application. I want to use the server variable. When I check the...
1
by: =?Utf-8?B?QnJhZCBLaW5n?= | last post by:
I recentlly converted some web services to 2.0. So far everything has worked great with the exception of one of the functions in an AD service. the following code: string sUser =...
7
by: Smurfas | last post by:
Hi, everything simple: string strWhatever = Request.ServerVariables("LOGON_USER"); TextBox1.Text = strWhatever; Found, my Computer name. But how found another computer name, when I have IP....
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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.