>>I think you don't understand,

I think you don't understand that I perfectly understand what's hapening:
Although I assumed the template (pdf file) should not be compiled since never 
executed,
it IS compiled. This causes the syntax error and stops execution.

 >>You are not taking into consideration
that the PDF is the cause of this error

I know perfectly that the pdf is causing the error. I told you this is because 
it contains a string like "<CF..."
This is because of the order in which CF is compiling and executing templates.
My error was to assume that a template which is never to be executed would 
never be compiled,
which is kind of logical after all.
I see and I understand perfectly that it is not the way it works, that's it.

My question was "is it possible to have CF compile a template requested in the 
url only if it is executed", so far the answer is no.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:345584
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to