Craig,

On 2/6/2004 at 16:07, you wrote:

CE> Is there any way to specify a default error handler? I am stuck using a
CE> shared server where I cannot get access to the server error logs, and no one
CE> seems to know how to create an application specific error log...

In Application.cfm:

<cferror type="exception" template="errorhandler.cfm" mailto="[EMAIL PROTECTED]">

In errorhandler.cfm you can place your error handling code. An easy
method is to email the error data using CFDUMP to print out the error
scope (cgi, session, etc.) and present a stock error message to the
end user.

<cfmail... type="html">
        <cfdump var="#error#">
        <cfdump var="#cgi#">
        etc.
</cfmail>

<p>An error has occurred!</p>

~ Ubqtous ~
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to