Absolutely.
I haven't run into any limitations on the code that you can use in this method.
I wrote a brief entry about onError here:
http://steve.coldfusionjournal.com/read/1147009.htm
Steve Bryant.
Bryant Web Consulting LLC
http://www.BryantWebConsulting.com/
http://steve.coldfusionjournal.com/
At 05:15 PM 5/31/2005, you wrote:
I'm porting some of my applications over to CFMX7 and was looking for some
more information on implementing code in the onError method inside the
application.cfc file. In the past I've used the cferror tag with a
customized template that displayed a customer friendly error message that
also emailed me at the same time so I would be alerted to any potential
problems.
Can you do this sort of thing inside application.cfc?
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at
www.mail-archive.com/cfcdev@cfczone.org