Hi all,

Has anyone used the timeout attribute on CFHTTP? It doesn't seem to work for me.
I've got a non-essential template to call via HTTP, and if it doesn't connect in
5 seconds I just want to give up - but CFHTTP doesn't actually stop executing
within the timeout value. It keeps going until shortly before the page timeout.
Thoughts?

<cfhttp url="#url#" method="post" timeout="5">
        <cfloop index="pfield" list="#pfields#" delimiters=",">
                <cfhttpparam name="#pfield#" type="formfield" 
value="#evaluate(pfield)#">
        </cfloop>
</cfhttp>

David
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to