Thanks,
Unfortunately I am using Flash on the client side, and only CFC on the
server side.  I was hoping to be able to generate a log as well, but I'll
try this. Thanks

-----Original Message-----
From: Ubqtous [mailto:[EMAIL PROTECTED]
Sent: Friday, February 06, 2004 4:21 PM
To: CF-Talk
Subject: Re: Invoking CFC from within a CFCATCH block

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