I guess the error type "request" is defined by an error occuring when a page
is requested, but fails...
How is the "exception" error defined?

Rick


-----Original Message-----
From: Scott Brady [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 5:26 PM
To: CF-Talk
Subject: RE: cferror


>One thing to watch out for, though - if your error page itself generates an
>error, odd things might happen. I suspect that's the reason that you can't
>use CFML tags and functions in a Request error page. If your site-wide
error
>handler page generates an error, the user will see the default raw error
>message page instead.

We get around that this way:

At the bottom of Application.cfm, we have two cferror tags. The first one is
type="Exception" which allows us to e-mail the admin and provide error
diagnostic info. However, if that generates an error (for some reason), the
second cferror tag is type="request" which basically puts up a page that
says "An error has occurred." without the CF error diagnostic stuff.

Scott
--------------------------------
Scott Brady
http://www.scottbrady.net/



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to