Andew, it has been said several times that the problem was caused by a user link to the file directly, it is not caused by cfcontent, thus why it got compiled.
On Sun, Jun 26, 2011 at 5:07 PM, Andrew Scott <[email protected]>wrote: > > Dave, > > Really I didn't get that from his posts...... > > The part that I am struggling with is the actual PDF itself, regardless of > whether it is called via a cfml template or not. I strongly believe that if > you are using cfcontent to deliver a file with the extension of PDF then it > *SHOULD* not compile that file, only the template it is being called from. > > I saw the code, I read the code but it was not very clear if the PDF in > question also had the cfm extension or not, and after re-reading everything > I still don't see that mentioned. > > > Regards, > Andrew Scott > http://www.andyscott.id.au/ > > > > -----Original Message----- > > From: Dave Watts [mailto:[email protected]] > > Sent: Monday, 27 June 2011 1:39 AM > > To: cf-talk > > Subject: Re: application.cfm > > > > > > > I did Claude (But I stated a possible bug), because I still am > > > struggling because you don't share the code, to how you are including > > > or loading the PDF. In other words I think there is a solution but I > > > would need to see the code and the offending PDF to help further. > > > > No, he did post all the code, but you also have to put that together with > the > > fact that the code is invoked when a user directly requests one of his > PDFs: > > > > http://claudes_server/somefile.pdf.cfm > > > > So, the compiler attempts to compile somefile.pdf.cfm before running the > > code he posted in Application.cfm. > > > > Dave Watts, CTO, Fig Leaf Software > > http://www.figleaf.com/ > > http://training.figleaf.com/ > > > > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA > > Schedule, and provides the highest caliber vendor-authorized instruction > at > > our training centers, online, or onsite. > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:345745 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

