> Is it at all possible to put CFTry/CFCatch into a page by > using two include statements? (one at the top, and one at > the bottom) I am trying to setup better error handling on > my site, but do not want to have to put the full code in > each page, just include it. This way, If I need to add > something to it, I can just change it in one spot
I would strongly recommend that you avoid doing this. For generic error handling that isn't specific to an individual page, use the CFERROR tag with the EXCEPTION attribute and/or the site-wide error handler. That way, you can continue to use CFTRY/CFCATCH to deal with specific problems for which you have specific solutions. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm

