Ah, your doing it both ways. If you remove the cferror tags, you will
see that your error page gets ignored when it looks for the application
variable.

CF looks for the error page in this order.

1. Looks for cferror in your application.
2. Looks for the global error page setting in the admin.
3. Returns it's own error handler.

If there is an error in 1 or 2 they will be ignored and CF's default
error handler will be returned.

You can't use variables other than local variables and error variables
in your error handler if your not going to include cferror on every site.

The only time this would be a problem is if your hosting clients that
write their own applications on your server's. You can't force them to
include a cferror tag and set that application variable in their
applications. So if they don't do that than the error page will be
ignored because it contained an error itself. So then cf will return the
default error handler.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to