>>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

Reply via email to