> 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.
This is only true if you use TYPE="REQUEST" or TYPE="VALIDATION" within your CFERROR tag. If you use TYPE="EXCEPTION", your CFERROR page can have whatever CFML code you like within it. You can also use whatever code you like within your site-wide error handler page. It's a good idea not to do anything too complex in there, though, as you may cause an error within your error handler, which defeats the purpose of an error handler - the end user would see the regular CF error page. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ 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

