Weird, the cfhttpparams do work.  I just tried it too.

Interestingly enough, if I try to load the page in IE7 while running
Microsoft Fiddler 2, I get the blank response.  

~Brad

-----Original Message-----
From: Michael Dinowitz [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 06, 2008 3:16 PM
To: CF-Talk
Subject: Re: cfhttp failing to retrieve page

Ah, I got it. Using Firebug I was able to find that you have to set the
following 2 cfhttpparams
    <cfhttpparam type="HEADER" name="keep-alive" value="300">
    <cfhttpparam type="HEADER" name="connection" value="keep-alive">
I guess that they have a setup that sends a single byte of data and then
sends more on the kept alive connection. A browser would be able to get
the
additional data while a bot would not. Interesting. I wonder if I can
implement it. Let me test.

Sometimes you just need to talk a problem out with others to get a
solution.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307007
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to