type="exception" allows you to use cfml on the corresponding template.
"Monitor" is the default and catch all if your exception template has a cfml
error.  In 4.0 cfml was not allowed on error templates due to the
possibility of an infinite loop. i.e.. error page errors so it calls the
error page with the error.  Now cferror has a tree it follows.

-----Original Message-----
From: Andres [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 9:57 AM
To: CF-Talk
Subject: CFerror and its


Hello all,
i have an application.cfm that calls a cf error tag like this:


<cfapplication
        name="myapp"
        clientmanagement="Yes"
        sessionmanagement="Yes"
        setclientcookies="Yes"
        sessiontimeout="#CreateTimeSpan(0, 0, mins_until_timeout, 0)#">

<cferror type="VALIDATION" template="site_errors.cfm" mailto="[EMAIL PROTECTED]">

<cfinclude template="variables.cfm">


The problem is that when a validation error occurs, the error page appears
fine, but the CF inside the error template is not executed... it shown as if
it was a regular html page with all the cf showing.

can someone tell me why this is happening and how i can correct the
problem??


thanks

andres
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to