> Can I use something like this to create a quick and dirty > error trapping system? > > in application.cfm > <cftry> > > in onrequestend.cfm > <cfcatch type="any"> > Code to email error info, browser info, etc. > </cfcatch> > </cftry> > > I know it's clunky, but I just want to do something that is > quick and dirty for now.
I don't think you can put your opening and closing CFTRY tags in separate pages, but I'd never try it to find out, either. Why not just use the site-wide error handler, or CFERROR? That's also quick, but much less dirty. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

