Hmmm... this has drifted away from the origional thread a bit...

all I'm after are ideas, techniques, etc for debugging CFHTTP.

I'm trying to script the submitting of (many) new datasources to the CF
administrator.

so far I've got a try/catch block over each section and I'm trying to read
the cfhttp.FileContent (which returns "Connection Failure"  - which means
what exactly?) to see what's happening. What else can I do?

for more info (inc the code I'm using) please see my post yesterday

thanx all
cheers
barry.b


-----Original Message-----
From: Geoff Bowers [mailto:[EMAIL PROTECTED]
Sent: Thursday, 26 June 2003 11:40 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: debugging CFHTTP


I'd have to say post updater 3 on CFMX that the CFHTTP tag is actually 
quite usable.  It's true that earlier iterations of CFHTTP had issues. 
But I call hundreds of blog feeds a day on Fullasagoog all using CFHTTP 
to great effect.  I guess ultimately it depends on what you need it for.

Prior to updater three I used to use HTTPClient, an open source java 
class library.

-- geoff
http://www.daemon.com.au/

Daniel Morphett wrote:

> Depends on what you're trying to do.
> 
> I understand that web services in cfmx are a bit better, so you may want
to
> look at using them if you use that server for your cf.
> 
> If what you want to do doesn't rely on contacting other sites, you may
want
> to store the info on a local db and use it.
> 
> If it does, then you may want to replicate the data across and then use
the
> local version.
> 
> If you really can't do without it, but can stand some latency, then try
> doing a call every hour, storing the result locally, and using the local
> version for your site.
> 
> Then there are non-cf solutions that may work better: wget is one.
> 
> If you post what you are trying to do, I could maybe be more helpful.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> [EMAIL PROTECTED]
> Sent: Thursday, June 26, 2003 4:51 PM
> To: CFAussie Mailing List
> Subject: [cfaussie] RE: debugging CFHTTP
> 
> 
> On Thu, Jun 26, 2003 at 04:07:25PM +1000, Daniel Morphett wrote:
> 
> 
>>if you want your code to be reliable, don't use cfhttp
> 
> 
> What would you recommend in place of it, then?
> 
> 
> Paul Haddon
> Technical Services Manager
> Formstar Print Technologies
> 
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
> [EMAIL PROTECTED]
> 
> MX Downunder AsiaPac DevCon - http://mxdu.com/
> 
> 
> 
> 


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to