>Can I ask why it's not a good idea to use CFTRY/CFCATCH?
CFTRY/CFCATCH is to handle unexpected errors. If you expect the error, you 
should write your code to handle the error directly rather than expecting it to 
be handled in a general manner. Of course, this is my opinion and others will 
differ. CFTRY/CFCATCH is very efficient and has close to no overhead on a 
standard CF page. It's an issue of approach, not execution speed.

>Whereabouts do i put the CFMAIL script below?  It comes up with an  
>error saying that TYPE is undefined in ERROR?
I put it in a template, then map the template in the CFAdministrator under 
server settings - settings - site wide error handler. This will cause the 
template holding the code to be run every time an error is thrown. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211976
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to