Includes the content from the referenced file (template). The content may be executed as CFML, see compatibility info below. You can embed cfinclude tags recursively. For another way to encapsulate CFML, see cfmodule. (A CFML page was formerly sometimes called a CFML template or a template.)
<cfinclude template="" runonce="true|false">
include "template.cfm" runonce=true|false;
false
CF 9+
include "mypage.cfm";
<cfinclude template="mypage.cfm">
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.