AdobeStock_455007340

Scoped User Defined Functions

User defined functions (UDF’s) may be created in different scopes, for example SESSION.Func() and REQUEST.Func() are both valid and allowed. But scopes may not be used when naming a function. To place a function in a scope first define it as you would usually, and then copy it. For example, once you have created function Func() you could to copy it into the REQUEST scope. (Applies to: ColdFusion 5 (or later))

Leave a Reply