I think you don't understand, CF will try to compile the templates before execution, provided there are no compile time errors. If there is it will abort compiling the templates. And I believe and although I am not 100% sure you will find that all files in the execution of that request are removed, which is why you might be thinking what you are thinking.
Regards, Andrew Scott http://www.andyscott.id.au/ > -----Original Message----- > From: Claude Schnéegans <schneeg...@internetique.com> [mailto:=?ISO- > 8859-1?Q?Claude_Schn=E9egans <schneegans@interneti=71?= =?ISO-8859- > 1?Q?ue.com=3E?=] > Sent: Thursday, 23 June 2011 11:41 PM > To: cf-talk > Subject: Re: application.cfm > > > >>I will ask another question, is this application.cfm in the directory of the > template in question, > > Yes, of course, and it include higher lever application.cfm > > >>But you really need to work out why it is trying to compile the PDF as a > CFML template, > > Again, since application.cfm is to be executed prior the template specified in > the url, and since the code in the application.cfm could redirect the request > to another template, or simply abort the request, I thought the requested > template would be compiled only after application.cfm execution and only if > it was to be actually executed. > This would have been logical after all, but it is not the way it works: both > application.cfm AND the template are compiled first, THEN application.cfm is > executed. > It could have been that application is compiled and executed FIRST, then the > template is compiled and executed if application passes control to it. > Since my application.cfm always terminates on a CFABORT, the requested > template is NEVER executed, and there is no reason it should be compiled. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ~~~~~~~~~~~| > 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:345575 > Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm > Unsubscribe: http://www.houseoffusion.com/groups/cf- > talk/unsubscribe.cfm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:345581 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm