My understanding is that you can't use cf code at all in an error template. You have access to a few vars. You can use mailto in <cferror> to send an e-mail on error. You can use CF code in a <cfcatch> if you trap your error that way.
>>> "David Schmidt" <[EMAIL PROTECTED]> 05/23/02 02:52PM >>> Hey all, I'm having a bit of a brain fart here. I want to have a particular site send the details of the error message when a message occurs. The plan I have is this, but it doesn't seem to be working. \root\Application.cfm (contains a cferror tag, type="exception" mailto="myemailaddr" template="errors/errorhandler.cfm" ...) \root\errors\Application.cfm (just holds a comment); \root\errors\errorhandler.cfm (contains code to loop over the error object if it exists, putting the messages in a cfmail tag) I've been able to use cf code in an error template before (think I was tinkering with it some time ago, can't find the code). Anyone have an idea on what I might be missing? Thanks All David ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

