Trap All Failed Lock Calls

must be used whenever shared scopes are used, as well as whenever code should not be accessed by more than one request at a time. throws errors if timeouts occur (waiting for a lock), and you need to know about these situations. The best way to do this is using / , specifying a block with TYPE=”lock” to trap all errors. (Applies to: ColdFusion 4 or later)

Leave a Reply