ColdFusion Components can be made to persist by simply placing them in persistent scopes (like APPLICATION or SESSION). Use or CreateObject() to instantiate the component and assign it to a variable, and then refer to it as scope.object. Within the component any data saved in the THIS scope will be available as long as the component persists. (Applies to: ColdFusion MX)

Leave a Reply