Dov, Unfortuantely, nope.
This might be one approach you could take: <cfsavecontent variable="output"> <html><head><body> </cfsavecontent> <cffile action="write" file="header-static-html.txt" output="#output#"> <cfsavecontent variable="output"> yada yada yada.... </cfsavecontent> <cffile action="write" file="header-static-html.txt" output="#output#"> -joe On Mon, 29 Nov 2004 14:54:48 -0500, Katz, Dov B (IT) <[EMAIL PROTECTED]> wrote: > Can I pipe out parts of pages using CFCONTENT? I currently have an > cache_to_file tag which I wrote to cache parts of rendered pages to > file. > > Right now I (inefficiently) CFFILE-Read them, then #output# the > contents. What I'd like to do is CFCONTENT them directly to the > response output stream. > > Can I "pipe" them to the output by using CFCONTENT? My goal is to > basically CFINCLUDE but i dont want to compile the include file, just > pipe it to the browser, and it's part of the renderable page... > > Thanks! > -dov > > My code would look like this.... > > <html><head><body> > <CFCONTENT file="header-static-html.txt"> > > yada yada yada.... > <CFCONTENT file="footer-static.txt"> > yada > </body></html> > -------------------------------------------------------- > > NOTICE: If received in error, please destroy and notify sender. Sender does > not waive confidentiality or privilege, and use is prohibited. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185604 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