First, I will say that this is a strange request, and chances are, you're doing something wrong. Compile errors mean that there was more than an error, it's that the template has serious problems that the CFML compiler couldn't parse. The fact that you still want one page to execute and another to not compile is weird, strange, odd. I can't think of a logical case for this, and would love to hear it if you have one.
That said, you should be able to do this with an Application.cfc file instead of Application.cfm. Make an onRequest method, which will compile and run that function, then from there you cfinclude the requested template, which should be compiled only when execution reaches that include. I always use Ray's Application.cfc reference, for reference: http://www.coldfusionjedi.com/downloads/application.cfc.txt nathan strutz [www.dopefly.com] [hi.im/nathanstrutz] [about.me/nathanstrutz] On Wed, Jun 22, 2011 at 7:33 AM, <> wrote: > > Hi, > > I've noticed that application.cfm is indeed run before the template called > in the url, but the template itself is compiled BEFORE application.cfm is > called. > I need to have the ability in application.cfm to run some code and NOT > compile the template. > > Is it possible ? > CF 9 > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:345524 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

