CF should not be compiling anything that is not CFML, if it is this actually happening then it sounds like a bug in CF.
Regards, Andrew Scott http://www.andyscott.id.au/ > -----Original Message----- > From: Claude Schnéegans <[email protected]> [mailto:=?ISO- > 8859-1?Q?Claude_Schn=E9egans <schneegans@interneti=71?= =?ISO-8859- > 1?Q?ue.com=3E?=] > Sent: Thursday, 23 June 2011 1:41 AM > To: cf-talk > Subject: Re: application.cfm > > > >>But I am at a loss to explain how a PDF is going to throw a CF Exception > error, when using cfcontent to deliver the file it should not be trying to > compile that content. > > The error is not thrown using cfcontent, but simply when CF compiles the file > when the HTTP request is received, before even executing application.cfm In > my mind, application.cfm was called first, then the template compiled and > run. > Apparently, both application.cfm and the template are compiled first, then > executed. > This means that if application.cfm does not let the template to be executed, > it is compiled for nothing. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:345552 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

