|
|
Home / Groups / ColdFusion Talk (CF-Talk)
Trying to 'fail gracefully' from a cfhttp errorWhat 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 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> |
Mailing Lists
|
Latest Fusion Authority Articles
|