you can't execute cf code on error pages.
what i do is put all the cfcode in hidden form variables, and onload submit
the form to another page that executes the cold fusion and emails me the
error code.

----- Original Message -----
From: "Andres" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, January 12, 2001 9:56 AM
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to