Name

CFSAVECONTENT — New in ColdFusion 5.0

Synopsis

<CFSAVECONTENT>
HTML and CFML
</CFSAVECONTENT>

Saves all generated content between tag pairs in a variable. CFSAVECONTENT is useful in situations where you want to reuse the content generated by a specific block of code.

Attribute

VARIABLE=" variable_name "

A variable name for storing the content generated by code between the CFSAVECONTENT tag pairs.

Get Programming ColdFusion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.