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

Request.ServerVariables("LOGON_USER") Problem

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
Request.ServerVariables("LOGON_USER") returns the login of a different
user -- a tech who logged in to his machine a week or two ago.

It seems to be this one machine that's the problem. The user's login
on other machines returns the correct value, and the apsx has been
working without any other hitches for some months now.

I tried deleting the temporary Internet files -- no change.

Any ideas on this one, or at least other possibilities to check out?
Thanks,

Dave James

Nov 19 '05 #1
1 4789
Perhaps IIS and ASP.NET are configured to use two different auth schemes?
IIS is requiring windows auth, but ASP.NET wants forms auth and it's got
a persistent cookie for the tech from a week ago.

-Brock
DevelopMentor
http://staff.develop.com/ballen
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
Request.ServerVariables("LOGON_USER") returns the login of a different
user -- a tech who logged in to his machine a week or two ago.

It seems to be this one machine that's the problem. The user's login
on other machines returns the correct value, and the apsx has been
working without any other hitches for some months now.

I tried deleting the temporary Internet files -- no change.

Any ideas on this one, or at least other possibilities to check out?

Thanks,

Dave James

Nov 19 '05 #2

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...
0
by: Lyners | last post by:
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...
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....
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
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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.