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

how to retrieve windows login/pwd in ASP ?

bob
hi,

I want to redirect my user to another page.
With ASP (not .Net) and IIS 5.0, under windows 2000 server.

We have installed the component WinHTTP that is used to manipulate http
requests.

We want to automatically identify the user through his Windows login/pwd
(NTML) He does not need to type it.
How do i get the login/pwd from windows, and perfom an authentification
control ?

A subsidiary question:
then how do i set up a cookie in the client computer ?

thanks
Jul 22 '05 #1
2 2554
"bob" <pa*@dd.com> wrote in message
news:42***********************@news.wanadoo.fr...
hi,

I want to redirect my user to another page.
With ASP (not .Net) and IIS 5.0, under windows 2000 server.

We have installed the component WinHTTP that is used to manipulate http
requests.

We want to automatically identify the user through his Windows login/pwd
(NTML) He does not need to type it.
How do i get the login/pwd from windows, and perfom an authentification
control ?

A subsidiary question:
then how do i set up a cookie in the client computer ?

thanks


http://www.aspfaq.com/5003
Jul 22 '05 #2
bob wrote:
hi,

I want to redirect my user to another page.
With ASP (not .Net) and IIS 5.0, under windows 2000 server.

We have installed the component WinHTTP that is used to manipulate
http requests.

We want to automatically identify the user through his Windows
login/pwd (NTML) He does not need to type it.
How do i get the login/pwd from windows, and perfom an
authentification control ?
You can't get his password. You can get his login by using the LOGON_USER
servervariable (do a search at www.aspfaq.com for details)

A subsidiary question:
then how do i set up a cookie in the client computer ?

Google is your friend.

Bob Barrows

--
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.
Jul 22 '05 #3

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

Similar topics

1
by: sherkozmo | last post by:
I have my SQL 7.0 server set for Mixed security. I see now (finally) the advantages of having windows authentication security for windows groups. I do most of my developing in Access Projects...
0
by: GoCMS | last post by:
Sorry for the duplicate posting, but I tried to cross_post from adsi.general board, and it didn't work. :( Here's my question: I'm using windows 2000, and integrated windows authentication for...
0
by: vvenk | last post by:
Hello: I would like to know how I can programmtically retrieve the windows login id? This is a asp.net application. Thanks. venki
4
by: Norman Fritag | last post by:
Hi there, I would like to retrieve of a secured database the Username and the group that he / she belongs to, to apply access rights to some button click events, which are accessing forms that...
0
by: Federica | last post by:
Hi! I need some help retrieving user information in Active Directory. I have one webform with 2 textboxes 1 username and one for password. When the user load this page and insert his username and...
9
by: Justin Engelman | last post by:
Hi, I have a website that uses an ISAPI filter that will redirect anyone going to any page on the site to an SSL login page (on a different website with the same root domain) if they do not have...
1
by: John Yung | last post by:
Hi, I have a client (C# MS Excel Project) calling a Web Service to retrieve and update data. One of the business requirement is the client's NT Login ID, IP Address and computer name must be log...
4
by: John Savage | last post by:
I have a free web mail address and would like to use python to retrieve files that have been emailed to me. The basic code would accommodate cookies, a login name and password, then download using...
1
by: awburns | last post by:
Hi, A friend of mine has written a C# Assembly to get some data. To do so, though, involves creating an object ( a 'Login' object, containing the user's credentials) and then running a "login()"...
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: 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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.