The error you have there is a *compile time* *syntax* error, the code will
be compiled before the request is 'run' which is why you see the error. If
you change the code in index.cfm to <cfset variable = undefinedVar />, the
code will compile fine and will then abort in your app.cfm as the error that
would be thrown by the undefined var would be a *runtime* error.

HTH

Dominic

On 31 December 2010 10:55, Richard Steele <r...@photoeye.com> wrote:

>
> I'm testing some error checking stuff and don't understand why the
> application.cfm doesn't abort before an error is found in a file.
>
> Here's the application.cfm
> <cfabort>
>
> Here's the index.cfm
> <cftest>
>
> When the index.cfm is run, it shows the error information (Unknown tag:
> cftest). I would think that application.cfm would fire first and not even
> get to index.cfm.
>
> What am I'm missing here? Thanks in advance.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340335
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to