>  >>In Claude's original question, it doesn't appear he's using CFCONTENT:
>
> Yes I am.
> Here is a summary of the code in application.cfm:
> You can see that the requested file is never executed nor intended to.
> The only purpose of the .cfm extension is to force the execution of the 
> application.cfm

Thus, as described in my previous response:

"If you give a file a .cfm extension and invoke that file in an HTTP
request on a server configured to run CF, for all intents and purposes
that file is CFML, whether it contains any CFML tags or functions or
not. And CF will compile it, and this is not a bug, but the intended
behavior."

The fact that you're using CFCONTENT later on is a "red herring" - the
fact is, you have a .cfm file and you're requesting it via HTTP. That
file is therefore treated as a CF file. CF will attempt to compile it.
This is not a bug, but the intended behavior.

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

Reply via email to