Thanks folks!
I'm new to this.
I'm trying to send a username , password to a website from my vb program
using httpWebRequest
I know how to set up the request and how to send a string via GetRequestStream
also how to to get the response.
Totally lost on how to send the username, password to the webpage for login.
Presently my request returns the html text for the login page.

Any help would be welcomed
--
Roger

--
Roger

Re: System.Net.HttpWebRequest - help by Stefan

Stefan
Sun Sep 04 02:55:53 CDT 2005

Roger,

search for "NetworkCredential" or "CredentialCache" in the online help:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemnetnetworkcredentialclasstopic.asp

HTH,
Stefan


"Roger" <Roger@discussions.microsoft.com> schrieb im Newsbeitrag
news:278DB324-03AE-45F8-B65D-4717CAEF7474@microsoft.com...
> Thanks folks!
> I'm new to this.
> I'm trying to send a username , password to a website from my vb program
> using httpWebRequest
> I know how to set up the request and how to send a string via
> GetRequestStream
> also how to to get the response.
> Totally lost on how to send the username, password to the webpage for
> login.
> Presently my request returns the html text for the login page.
>
> Any help would be welcomed
> --
> Roger
>
> --
> Roger



Re: System.Net.HttpWebRequest - help by Roger

Roger
Sun Sep 04 05:37:01 CDT 2005

Stefan,
Thanks much for the help.
I got thru the credentials part with help via your link.

Now I am trying to complete and submit a form using HttpWebRequest
I have the form name,action,method etc
I also know how to use the Method property and GetRequestStream
of HttpWebRequest.
What I dont know is how to construct the script correctly.
When/if I figure out the script do I just use .write on the request stream?
Can you help on the scipt etc
Hope so

Thanks much

--
Roger


"Stefan Misch" wrote:

> Roger,
>
> search for "NetworkCredential" or "CredentialCache" in the online help:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemnetnetworkcredentialclasstopic.asp
>
> HTH,
> Stefan
>
>
> "Roger" <Roger@discussions.microsoft.com> schrieb im Newsbeitrag
> news:278DB324-03AE-45F8-B65D-4717CAEF7474@microsoft.com...
> > Thanks folks!
> > I'm new to this.
> > I'm trying to send a username , password to a website from my vb program
> > using httpWebRequest
> > I know how to set up the request and how to send a string via
> > GetRequestStream
> > also how to to get the response.
> > Totally lost on how to send the username, password to the webpage for
> > login.
> > Presently my request returns the html text for the login page.
> >
> > Any help would be welcomed
> > --
> > Roger
> >
> > --
> > Roger
>
>
>