On Thu, Nov 18, 2010 at 1:47 PM, John M Bliss <bliss.j...@gmail.com> wrote:

> fset success = "">
> <cfset attempts = 0>
> <cfloop condition="success is not 1 and attempts lt 4">
>   <cfset attempts = attempts + 1>
>   <cftry>
>      <cfhttp ... timeout="60" ... >
>      <cfset success = 1>
>      <cfcatch>
>         <cfset success = 0>
>      </cfcatch>
>   </cftry>
>


Thanks guys, just wanted to be sure I was thinking along the same lines
here. John, like your example, I'll play around with that.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339360
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to