Hi,

>and also....whats

><CFFILE action="Append">
>blah blah blah
></cfifle>

I want to put the "erorr" into a log file.

I have thought about using cfhttp.filecontent, but it seems to be empty if 
there was an error, instead of including the html erorr page. damn.



>>> [EMAIL PROTECTED] 06/30/05 10:57 am >>>
maybe add the "throwonerror" attribute

just cause CF errors on the page your calling, doesnt mean its not there.
CFHTTP just cares if its there or not, not if its erroring

and also....whats

<CFFILE action="Append">
blah blah blah
</cfifle>

all about?

Steve

-----Original Message-----
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] Behalf Of Scott
Thornton
Sent: Thursday, June 30, 2005 10:27 AM
To: CFAussie Mailing List
Subject: [cfaussie] Catching Errors Using CFCATCH around CFHTTP


Hi,

I am calling a page :

<CFTRY>

<cfhttp
 url = "SOMEPAGE.CFM?urlvar=1"
 method = "get">
</cfhttp>

<CFCATCH TYPE="ANY">

<CFFILE action="Append">
blah blah blah
</cfifle>

</CFCATCH>


</CFTRY>

and have deliberately changed a query so that it would cause an error on
somepage.cfm.

The problem is, there is no error being caught. Is what I am trying to do
possible???

Secondly, if anyone knows a better method than cfhttp for calling ( kinda
like including) other cf pages that use URL var, Id like to hear it.

Scott Thornton, Programmer
Application Development
Information Services and Telecommunications
Hunter-New England Area Health Service
Phone  RNH +61 2 49236078
Fax       +61 2 49236076

[EMAIL PROTECTED] 


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED] 
To unsubscribe send a blank email to
[EMAIL PROTECTED] 
Aussie Macromedia Developers: http://lists.daemon.com.au/ 



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED] 
To unsubscribe send a blank email to [EMAIL PROTECTED] 
Aussie Macromedia Developers: http://lists.daemon.com.au/


---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to