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

Auth_User blank. Please help

I am trying to use AUTH_USER from request.servervariables but the field is
blank. I am using Windoze server 2003 with IIS5. I know there is a fix
because I did it a long time ago with our old NT server running IIS4 but I
cant remember how I got it to work. We are all authenticated users on our
Domain so this is available, I am able to get IP info and such. I seem to
remember some kind of ASP code that did the fix by altering the way the web
server displays info. Does anyone know this fix?
Jul 22 '05 #1
6 7597
AFAIK there is nothing to "fix".

Are you sure that you web site is not currently set to accept anonymous
requests ?

Patrice

--

"<VITA>" <We*******@goober.net> a écrit dans le message de
news:Oo**************@TK2MSFTNGP09.phx.gbl...
I am trying to use AUTH_USER from request.servervariables but the field is
blank. I am using Windoze server 2003 with IIS5. I know there is a fix
because I did it a long time ago with our old NT server running IIS4 but I
cant remember how I got it to work. We are all authenticated users on our
Domain so this is available, I am able to get IP info and such. I seem to
remember some kind of ASP code that did the fix by altering the way the web server displays info. Does anyone know this fix?

Jul 22 '05 #2
Turn off anonymous access for the page, directory, or application in IIS.

Ray at work

"<VITA>" <We*******@goober.net> wrote in message
news:Oo**************@TK2MSFTNGP09.phx.gbl...
I am trying to use AUTH_USER from request.servervariables but the field is
blank. I am using Windoze server 2003 with IIS5. I know there is a fix
because I did it a long time ago with our old NT server running IIS4 but I
cant remember how I got it to work. We are all authenticated users on our
Domain so this is available, I am able to get IP info and such. I seem to
remember some kind of ASP code that did the fix by altering the way the web server displays info. Does anyone know this fix?

Jul 22 '05 #3
<VITA> wrote:
I am trying to use AUTH_USER from request.servervariables but the
field is blank. I am using Windoze server 2003 with IIS5. I know
there is a fix because I did it a long time ago with our old NT
server running IIS4 but I cant remember how I got it to work. We are
all authenticated users on our Domain so this is available, I am able
to get IP info and such. I seem to remember some kind of ASP code
that did the fix by altering the way the web server displays info.
Does anyone know this fix?


Go into site properties and turn off Anonymous Access
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #4
That did it thanx all.

"Patrice" <no****@nowhere.com> wrote in message
news:eJ**************@TK2MSFTNGP10.phx.gbl...
AFAIK there is nothing to "fix".

Are you sure that you web site is not currently set to accept anonymous
requests ?

Patrice

--

"<VITA>" <We*******@goober.net> a écrit dans le message de
news:Oo**************@TK2MSFTNGP09.phx.gbl...
I am trying to use AUTH_USER from request.servervariables but the field
is
blank. I am using Windoze server 2003 with IIS5. I know there is a fix
because I did it a long time ago with our old NT server running IIS4 but
I
cant remember how I got it to work. We are all authenticated users on our
Domain so this is available, I am able to get IP info and such. I seem to
remember some kind of ASP code that did the fix by altering the way the

web
server displays info. Does anyone know this fix?


Jul 22 '05 #5

I have this problem too, when I try to use (auth_user) for retrieve user
from windows it doesn’t have value I turn off anonymous access but it
doesn’t return value, can you help me,

--
nikou_70
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Dec 2 '05 #6

when I turn off anonymous access in IIS I get this error,This is
usually caused by a server-side script not sending the proper
WWW-Authenticate header field. Using Active Server Pages scripting this
is done by using the AddHeader method of the Response object to request
that the client use a certain authentication method to access the
resource.

--
nikou_70
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Dec 2 '05 #7

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

Similar topics

8
by: MeAndI | last post by:
How to everybody, how it is possible to change the value of the AUTH_USER server variable? Is this possible? If no, how I could change the logged user? Thanks for help
0
by: Ian Staines | last post by:
In asp the following code: Request.Servervarables("AUTH_USER") will return the header variable AUTH_USER In .NET the code Request.Servervariables("AUTH_USER") returns the server variable...
4
by: Jim in Arizona | last post by:
I'm new to aspnet with only limited experience with classic asp. Since I'm on a domain and all users are authenticated. In the past using classic asp I used request.servervariables("auth_user") to...
2
by: z f | last post by:
trying to achieve windows authentication on the fly (without the file configured to deny anonymous access in IIS) i returned a 401 status if the Request.ServerVariables("auth_user") = "" this...
2
by: nikou_70 | last post by:
I use auth_user for get username from windows, when I upload that page on server and user open the page that contain this code ,it shows a prompt window and wants username and password ,it's common...
0
by: Mark Rae | last post by:
Hi, I apologise that this isn't *specifically* an ASP.NET issue - I will also post it to the IIS newsgroup - but I thought I'd ask here anyway on the off-chance that someone may have come across...
1
by: prashanthg | last post by:
Hi Friends, I am having an asp application in which i am capturing the Auth_User for authentication. My problem is when i am trying to turn off the anonymous access tab in the...
2
by: drengot | last post by:
Hello, I have a little problem. I want write the name of the user authenticated with code : <%=Request.ServerVariables%> bat the page write username and roles (example: Miruss:admin) . I want...
0
by: =?Utf-8?B?SlA=?= | last post by:
I have an application that uses Forms Authentication in connection with Active Directory for granting access to an application. When a user logs on with AD, it populates the AUTH_USER...
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: 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...
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
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.