This is usually accomplished by specifying an error template via the
CFERROR tag in your application. Because the template specific has a
narrow range of CF it can execute, most people then use _javascript_ to
have the error template post a hidden form to a full-fledged CF
template that emails the error to the admin and displays a friendly
message to the user.
-joe
----- Original Message -----
From: Lee <[EMAIL PROTECTED]>
Date: Fri, 13 Aug 2004 13:49:23 -0500
Subject: Error Handling
To: CF-Talk <[EMAIL PROTECTED]>
I want an email to go out every time there is an error on
a given application. Is it a little nutty to do this?
Put the beginning cftry tag in the application.cfm file
and put the cfcatch with cfmail and the closing cftry tag
in the onrequestend.cfm file? Can I do something similar
in just the application.cfm file?
Lee Surma________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

