Are ColdFusion objects (i.e. CFCs invoked via cfobject) normally passed by reference or by value (copied in memory)? And is it possible to force ColdFusion to pass an object in either manner?
Are ColdFusion objects (i.e. CFCs invoked via cfobject) normally passed by reference or by
Share
ColdFusion objects are passed by reference. There’s not really a way to pass an object by value, but you can create a copy using the duplicate() function.