473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Need HttpWebRequest help

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 <dotcom if interested.

Chip
Sep 18 '06 #1
4 1219
Will you be paying for this snippet of code?

Chip wrote:
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 <dotcom if interested.

Chip
Sep 18 '06 #2
Of course.

"Sean Chambers" <dk****@gmail.comwrote in message
news:11**********************@k70g2000cwa.googlegr oups.com...
Will you be paying for this snippet of code?

Chip wrote:
>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 <dotcom if interested.

Chip

Sep 18 '06 #3
You could probably find a tutorial with sample code on
thecodeproject.com or another csharp site.

Chip wrote:
Of course.

"Sean Chambers" <dk****@gmail.comwrote in message
news:11**********************@k70g2000cwa.googlegr oups.com...
Will you be paying for this snippet of code?

Chip wrote:
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 <dotcom if interested.

Chip
Sep 18 '06 #4
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.
"Sean Chambers" <dk****@gmail.comwrote in message
news:11**********************@d34g2000cwd.googlegr oups.com...
You could probably find a tutorial with sample code on
thecodeproject.com or another csharp site.

Chip wrote:
>Of course.

"Sean Chambers" <dk****@gmail.comwrote in message
news:11**********************@k70g2000cwa.googleg roups.com...
Will you be paying for this snippet of code?

Chip wrote:
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 <dotcom if interested.

Chip

Sep 18 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Mike Cronin via DotNetMonster.com | last post by:
Hi there, Can anyone tell me what level of encryption is used when making an HTTPS POST request through an instance of the System.Net.HttpWebRequest object? Thanks much in advance! Mike...
4
by: Steven Pu | last post by:
Hi, Specifically, the website I am trying to access is, https://gmail.google.com/ I've read elsewhere that Google only uses SSL2, while .NET uses SSL3 and is not backward compatible. Is...
2
by: phangmo | last post by:
Hi, I write a C# to get information from a XML site, when I run my program at home, there's no problem. But when in office, I've got this error: ----------------------- Unhandled Exception:...
1
by: Juan Dent | last post by:
Hi, The Request.SaveAs method stores in a file the complete HTTP request including the HttpVersion. However when I try to reproduce in memory the same thing, I cannot find the "HTTP/1.1"...
1
by: Jeff B | last post by:
I'm trying to create a simple screen scraping application and I kept getting a System.Net.WebException thrown back with a message of "The operation has timed-out." At first I thought it was some...
0
by: Cozfer | last post by:
I am having a problem communicating with a remote server (on intranet) using the httpwebrequest object. We have used the object to communicate with other machines previously, but this time we must...
6
by: Oliver | last post by:
I have a very wired problem requesting one specific url from within my application. I have struggeled with this for 5 hours now, and searched google withour any luck, so i hope that someone are...
5
by: Karl Prosser | last post by:
i'm having a very strange problem, i've been fighting it for more than 3 weeks. I am using WSE 3.0 t ocall a third party website, but when i call a method through the proxy object i get NO RESPONSE...
7
by: Marc Bartsch | last post by:
Hi, I have a background worker in my C# app that makes a synchronous HttpWebRequest.GetResponse() call. The idea is to POST a file to a server on the internet. When I call HttpWebRequest.Abort()...
1
by: Proogeren | last post by:
I have a problem with a httpwebrequest that I am creating. The request in itself looks correct but using fiddler I see that a www-authentication header is sent along as well. The code is pasted...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.