Hi can anyone tell me the value of using getpagecontext vs <CFINCLUDE>.

I have a few sites that make big use of CFINCLUDE to include HTML and I was
wondering if the getpagecontext is a better choice.  Also do you need to put
CFOUTPUT around it or just use it in cfscript

Here is my example below.

Thanks
Mario

<CFINCLUDE template="./html/spacer.htm">


<CFSCRIPT>
getPageContext().include("./html/spacer.htm")
</CFSCRIPT>




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Protect Your PC from viruses, hackers, spam and more. Buy PC-cillin with Easy 
Installation & Support 
http://www.houseoffusion.com/banners/view.cfm?bannerid=61

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190542
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to