Contact Us

Let us know to help you out quickly!

 Admin User     Feb,08 2017

cfsavecontent in CF9 cfscript

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


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

For Example:

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