My understanding is that you can't use cf code at all in an error template. You have
access to a few vars. You can use mailto in cferror to send an e-mail on error.
You can use CF code in a cfcatch if you trap your error that way.
David Schmidt [EMAIL PROTECTED] 05/23/02 02:52PM
Hey all,
Your code is most likely throwing an exception error, after which no CFML
can be processed. There are multiple error types which may be thrown
(exception, request, monitor and some other I can't remember).
Though you did not say it, I bet your cfmail tag is getting processed some
times (like
This WAS true with earlier versions, but the error page is MUCH more robust
now, starting with V 4.5 I think.
Are you trying to make it work with a V 4.0 CF Server?
On 5/24/02 11:55 AM, BEN MORRIS [EMAIL PROTECTED] wrote:
My understanding is that you can't use cf code at all in an error
My understanding is that you can't use cf code at all in an
error template. You have access to a few vars. You can use
mailto in cferror to send an e-mail on error. You can use
CF code in a cfcatch if you trap your error that way.
This is only true if you use TYPE=REQUEST or
Your code is most likely throwing an exception error, after which no CFML
can be processed. There are multiple error types which may be thrown
(exception, request, monitor and some other I can't remember).
Though you did not say it, I bet your cfmail tag is getting processed some
times (like
5 matches
Mail list logo