Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

how to retrieve windows login/pwd in ASP ?
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



Report this thread to moderator Post Follow-up to this message
Old Post
bob
03-30-05 01:55 AM


Re: how to retrieve windows login/pwd in ASP ?
"bob" <pap@dd.com> wrote in message
news:4249b1e7$0$11682$8fcfb975@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



Report this thread to moderator Post Follow-up to this message
Old Post
McKirahan
03-30-05 01:55 AM


Re: how to retrieve windows login/pwd in ASP ?
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.



Report this thread to moderator Post Follow-up to this message
Old Post
Bob Barrows [MVP]
03-30-05 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

ASP archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:53 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.