one thing i have found is that it always overwrites the previous CFHTTP variable
 
so what you  might have to do is copy the CFHTTP response structure into another variable before you go to the next item in the loop like
 
<cfset sites = arrayNew(1)>
<cfloop ....>
 <cfhttp ......></cfhttp>
 <cfset arrayAppend(sites, cfhttp)>
</cfloop>
 
or something.  I know it has caught me out a few times
 
Steve
-----Original Message-----
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Ryan Sabir
Sent: Thursday, August 24, 2006 12:02 PM
To: 'cfaussie@googlegroups.com'
Subject: [cfaussie] Re: Maximum CFHTTP calls?

Hmmm, found a bit more about this problem...
 
It wasn't the number of calls it was CFHTTP failing when it hit an https site. From then on all calls were failing...
 
Is this a known issue?
 
thanks


From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Sabir
Sent: Thursday, 24 August 2006 11:38 AM
To: 'cfaussie@googlegroups.com'
Subject: [cfaussie] Maximum CFHTTP calls?

Hi all,
 
I have a site checker that does a CFHTTP call to a number of servers to check their status. This was working fine in CF5. Now when moved to CF7 its behaving strangely.
 
The code loops throu a list of about 50 sites and checks a file on the server. The first 5 or so work fine. Fromthen on every connection gives me a Connection Failure error. If I dump the CFHTTP object I get the following data:
 
Charset [empty string]
ErrorDetail Connect Exception: Connection refused: connect
Filecontent Connection Failure
Header [undefined struct element]
Mimetype Unable to determine MIME type of file.
Responseheader
struct [empty]
Statuscode Connection Failure. Status code unavailable.
Text YES
 
 
Is there a problem with calling CFHTTP so many times in a loop like this?
 
thanks.
 
 
Ryan Sabir
Technical Director

p: (02) 9274 8030
f: (02) 9274 8099
m: 0411 512 454
w: www.newgency.com
Newgency Pty Ltd
Web | Multimedia | eMarketing

224 Riley St
Surry Hills NSW 2010
Sydney, Australia
 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to