Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this message"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
Post Follow-up to this messagebob 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.
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.