Contact Us

 Admin User     Feb,08 2017

cfsavecontent in CF9 cfscript

Hi
We can use cfsavecontent in cfscript but only for CF9.
The cfsavecontent equivalent in CF9 script is "savecontent" which is used like this:

Syntax:

 savecontent variable="any_variable_name" { WriteOutput("Your Content"); } 

For Example:

 savecontent variable="myVariable" { WriteOutput("Hello World"); }