473,806 Members | 2,697 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

auth_user

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 or it must
get automatically from windows?

Dec 5 '05 #1
2 2391
ni******@yahoo. com wrote:
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 or it must
get automatically from windows?

Make sure you disable Anonymous access for the website using IIS Manager.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Dec 5 '05 #2
Depends what you want ?

Whihc authentication uses your site ? If Windows this is normal, if not, I
don't see what you want to do with AUTH_USER...

--

<ni******@yahoo .com> a écrit dans le message de
news:11******** *************@g 14g2000cwa.goog legroups.com...
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 or it must
get automatically from windows?

Dec 5 '05 #3

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

Similar topics

8
10917
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
6
7619
by: | last post by:
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...
0
3204
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 AUTH_USER, but if you want the header variable you must request it with Request.Headers("AUTH_USER")
4
4279
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 grab the domain logon name of the user. Is there a better way or more detailed way in aspnet? Like, instead of putting "mydomain\bobjones" into a variable using request.servervariables("auth_user"), can I extract the actual name "Bob Jones" from...
2
2046
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 is OK, the 401 status Code returned with additional headers and the browser performed windows authentication and the next time i had auth_user correctly. but after closing the browser and re-opening it and requesting the same page again, i get the...
0
3964
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 this before... It's an intranet system written in ASP.NET v1.1 using C#. The site is running on IIS6 on Win2k3S with all the SPs and patches etc. The Session_Start interrogates the AUTH_USER server variable to identify the
1
2035
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 properties window.I am unable to even Run th local host in my machine. If I turn on the anonymous access check box i am able to run the local host but could not capture the AUTH_USER.as i am getting a empty string for that Any body Please help me...
2
1619
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 only username. Help me. (sorry for my English!!!)
0
1988
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 ServerVariable and I can then use: Request.ServerVeriables to retrieve the value of this variable or any other value in the ServerVariableCollection.
0
9719
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9598
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10371
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10111
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9192
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3852
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3010
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.