Locking Scoped Function Calls

User defined functions (UDF’s) may be placed in to shared scopes (SERVER, APPLICATION, and SESSION). But use scoped UDF’s carefully – as with any shared scope access, calls to these UDF’s must be locked using . If you are using scoped UDF’s you may want to copy then to the REQUEST scope so as to only have to lock them once. (Applies to: ColdFusion 5 (or later))

Leave a Reply