Advertisement

04.22.2008 at 11:01AM PDT, ID: 23343956
[x]
Attachment Details

Getting error handler to work properly

Asked by sonicimpulse in Web Languages/Standards, Cold Fusion Markup Language, WebApplications

Tags: Coldfusion 8, Mozilla, localhost

I'm using the attached code below to produce a page when ever there is an error that occurs.  The problem is it comes up on every time a link is clicked even when there is not an error.  I have this code posted in my application.cfc file.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
<!--- Error Handler --->
    <cffunction name="onError" returnType="void" output="true">
        <cfargument name="exception" required="true" />
        <cfargument name="eventname" type="string" required="true" />
        
        DISPLAY MESSAGE, SEND EMAIL WHATEVER YOU LIKE IN HERE.   
     
    </cffunction>
[+][-]04.22.2008 at 11:19AM PDT, ID: 21413894

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.22.2008 at 12:15PM PDT, ID: 21414449

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.22.2008 at 12:28PM PDT, ID: 21414593

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.22.2008 at 12:36PM PDT, ID: 21414674

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.22.2008 at 12:44PM PDT, ID: 21414770

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.22.2008 at 01:24PM PDT, ID: 21415214

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.22.2008 at 01:29PM PDT, ID: 21415264

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.22.2008 at 01:58PM PDT, ID: 21415549

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.22.2008 at 02:06PM PDT, ID: 21415632

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.22.2008 at 02:10PM PDT, ID: 21415662

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.22.2008 at 02:16PM PDT, ID: 21415712

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Web Languages/Standards, Cold Fusion Markup Language, WebApplications
Tags: Coldfusion 8, Mozilla, localhost
Sign Up Now!
Solution Provided By: SidFishes
Participating Experts: 1
Solution Grade: A
 
 
[+][-]04.22.2008 at 08:18PM PDT, ID: 21417531

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.23.2008 at 06:35AM PDT, ID: 21420479

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.23.2008 at 06:45AM PDT, ID: 21420577

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628