-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
A new feature of CFERROR in Cold Fusion 4.5 allows you to use any CFML
construct in the Custom Error handler.
All you need to do is specify type="exception" in the CFERROR tag.
For example,
<cferror type="exception" exception="any" template="error.cfm"
mailto="[EMAIL PROTECTED]>
will catch any Cold Fusion exception and pipe it to error.cfm. Error.cfm can
include any CFML code.
<cferror type="request"> preserves the old functionality.
Are you using 4.5?
:)
Joe
============================================
Joseph Cruz
Wharton Computing and Information Technology
Programmer/Analyst
3620 Locust Walk
Suite 400 SH-DH
Philadelphia, PA 19104-6302
[EMAIL PROTECTED]
215-898-1220(w) 215-573-2798(f)
215-308-0657(p) 215-768-2071(m)
============================================
> -----Original Message-----
> From: Mike Amburn [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 26, 2001 1:23 PM
> To: CF-Talk
> Subject: custom CFERROR pages, what's your solution?
>
>
> using CFERROR, you can create a custom error page. however, you can't
> perform any CF logic within that page. if you had to include
> some logic,
> the only method i can think of is to capture the error data in form
> inputs and use javascript to submit the form to another page that
> included the CF.
>
> has anyone else thought of a (better) method where you can use CFERROR
> but also present a page that uses CF logic?
>
> -mike
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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