Jayesh, I am not worried about the timeout issue. I am worried about failing
gracefully when, for example, the PC has lost power I can not connect, at
all. Any ideas?

-----Original Message-----
From: Jayesh Viradiya [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 02, 2007 3:40 PM
To: CF-Talk
Subject: RE: Trying to 'fail gracefully' from a cfhttp error.

What happens if you directly access this URL
"https://123.456.789.000/testpage.php"; from Browser ? Do it work fine ?

Looking at your error message it seems that you need to increase the Timeout
period for you page(<cfsetting> requesttimeout attribute) or from CF Admin->
settings page for site wide increase.

Thanks & Regards,
Jayesh Viradiya


-----Original Message-----
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 02, 2007 12:22 PM
To: CF-Talk
Subject: Trying to 'fail gracefully' from a cfhttp error.

When I can't connect to a PC using cfhttp an error is thrown. Typically, the
message reads "The request has exceeded the allowable time limit Tag:
cfhttp" and this message is caught in a cftry/cfcatch block and then emailed
to me. No problems there.

But what I cannot figure out is why the web site page that makes the cfhttp
call 'breaks' and only portions of the original page are shown when the
error occurs leaving the user to hit their back button. Can anyone help me
with this? I am at a loss.

Thanks, Che

----- Code -----
<cfhttp url="https://123.456.789.000/testpage.php"; method="POST"
timeout="5"
throwonerror="yes">
        <cfhttpparam type="formfield" name="checkAvailXML"
value="#checkAvailXML#">
</cfhttp>






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289995
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to