> Is it possible to use both cferror and the site wide handler 
> in MX 6.1?
> 
> My tests indicate that it is not possible, which is 
> unfortunate.  It seems that the site wide will always take 
> precedence.  Is there a way around that?
> My guess is no, but thought I'd check anyway.
> 
> I care because as server admins, we wanted to come up with a 
> default error template that we could throw up easily as a 
> standard security measure.  But then on internal development 
> servers, allow devs to override the template with one that 
> gave them more information.

Yes, I'm pretty sure that it's possible. However, it will depend on the TYPE
attribute you specify with CFERROR.

If I recall correctly, this is the execution order for error handlers:

1. Exception handler (CFTRY/CFCATCH)
2. CFERROR TYPE="EXCEPTION"
3. Site-wide error handler
4. CFERROR TYPE="REQUEST"

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240190
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to