Skip to main content

Jason McCoy

Member since Mar 1, 2010

Recent Blog Comments By Jason McCoy

  • Application.cfc OnRequest() Method Affects OnError() Arguments

    Posted on Mar 1, 2010 at 4:55 PM

    Okay, sorry about flooding your comments, but on a whim I tried one more thing. I made no changes to the application.cfc file I posted above, but this time I created another .cfm file that simply had <cfinclude template="onerror_parsing.cfm" /> in it. When loading it this way the OnError in ... read more »

  • Application.cfc OnRequest() Method Affects OnError() Arguments

    Posted on Mar 1, 2010 at 4:42 PM

    @Ben Thank you for responding so quickly. I thought I would post my code. I was just doing a simple POC when I noticed this. application.cfc: ---------------------------------------- <cffunction name="OnRequest" access="public" returntype="void" output="true"> <cfargument name="TargetP... read more »

  • Application.cfc OnRequest() Method Affects OnError() Arguments

    Posted on Mar 1, 2010 at 4:06 PM

    I forgot to mention that my mistyped tag was located in my index.cfm file. Interestingly enough I created the same error in a cfc which I called as an object. In that way the error was caught and displayed the way I wanted to from the OnError function. Am I missing something?... read more »

  • Application.cfc OnRequest() Method Affects OnError() Arguments

    Posted on Mar 1, 2010 at 3:54 PM

    I am using the OnError function in application.cfc and I noticed a strange occurance. If I mistype a cf tag (ie. <cfssset x = y />) the OnError does not catch it, just a generic CF error is displayed. Furthermore even if I use a cftry cfcatch around that code, with type = "any", CF still dis... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel