Maybe something like this:

<cftry>

   <CFhttp method="get" url="http://myurl/stats.cfm"; resolveurl = 1
throwOnError = "yes">

<cfcatch type="any">
   Connection lost
</cfcatch>
</cftry>


On Wed, 29 Dec 2004 15:16:32 -0500, Robert Orlini <[EMAIL PROTECTED]> wrote:
> I have this code using <cfhttp> below. When it does not connect I want it to 
> display some text reading "Connection lost". I have throwOnError set to yes.


-- 
Ubqtous

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188958
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
  • CFHTTP Robert Orlini
    • Ubqtous

Reply via email to