Need HttpWebRequest help

  • Thread starter Thread starter Chip
  • Start date Start date
C

Chip

We'd like to find somebody to write a quick function to retrieve html from a
website. While probably simple to do, there is a learning curve we just
don't have time for. It requires a cookie(s) to be sent with the request.

Contact me at info <@> intradata <dot> com if interested.

Chip
 
You could probably find a tutorial with sample code on
thecodeproject.com or another csharp site.
 
We have done lots of looking and have found samples and tutorials with how
to accept cookies and respond back with them, but nothing on a straight
request with a cookie that we need to provide from the outset. It seems
doable, but there is a lot to learn about how to handle cookies.

From what we've seen, we "JUST" add a cookiecollection to the webrequest.
However, what format these cookies use is a mystery. I have a cookie file
that is used when a browser hits the site which lets the webpage know what
country we are in so it will direct us to the correct page (or not direct us
back to the "what country are you in" page). The "country" section is easy
to see in the cookie, but there is a lot of other data that may or may not
need to be added as well. Do we parse the file and load each chunk of data?
Do we somehow read the cookie file and load the cookiecollection with the
entire raw file?

There are a lot of very helpful people out there that have saved us hours of
work and research. Hopefully we have saved some others time as well. In this
case, the task seems trivial to someone who already knows the landscape and
it is more equitable to just pay somebody for their knowledge.
 
Back
Top