Hi,
I've found CFERROR does not trap the CF 404 errors even when used in the global
application.cfm. Also a couple of statements in Tony's mail aren't correct in regards
to CFERROR:
At 2/17/2001 12:09 PM -0800, Tony Gruen wrote:
>If you have enabled session variables, this is easy.
You don't need to have session management enabled, or even a cfapplication tag.
> In your application.cfm
>page insert this code below your <cfapplication...>
>
>
><CFERROR TYPE="Request" TEMPLATE="error.html" MAILTO="[EMAIL PROTECTED]">
>
>Then be sure to have a custom error.html page within that directory scope.
>It
>is important to note that CFSERVER will not process anything but html on the
>error page so you can't use a .cfm page.
That's not entirely accurate. You can have a cfm page as the error handler, there's
just a very limited amount of CF functionality you can actually use in the error page.
See CFERROR tag help for details.
Cheers,
-Max
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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