By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,518 Members | 1,210 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,518 IT Pros & Developers. It's quick & easy.

Login in to a website using webrequest & webresponse

P: n/a
Hello all,

I'm trying to write a program that gets the sourcecode of a website
(there are already many on the web i know) but for the website i want
it to use i have to login.

Since i'm totally new to the webrequest and webresponse i have no idea
on how to do this.

The login on the website is coded like this
Username:
<input type="text" name="login_username">

Password:
<input type="password" name="login_password">
Remember Me
<input type="checkbox" name="remember" value="1">

Login button
<input type="submit" value="Login"></p>

If someone knows or has a sample please let me know.

Much apreciated,
Steven

Oct 15 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I forgot to mention that i use the 2005 version

Oct 15 '07 #2

P: n/a
<th*************@hotmail.comschrieb:
I'm trying to write a program that gets the sourcecode of a website
(there are already many on the web i know) but for the website i want
it to use i have to login.
<URL:http://dotnet.mvps.org/dotnet/code/net/#CookieRequest>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Oct 17 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.