>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
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to