views:

22

answers:

1

I'm looking for a easy way to post data to webpages while keeping the cookies. for example you login to somewhere, and later you do some new actions.

What's the easiest way to do that?

+1  A: 

There are number of ways how you can do this:

  1. WebClient
  2. HttpWebRequest
  3. Watin
  4. WebBrowser/ AxWebBrowser

The way you choose depends on your specific requirements. I prefer to use HttpWebRequest because it gives flexibility and speed.

Hun1Ahpu