Locking Variables

Data stored in Server, Application and Session scopes ("shared data scopes") is persistent across browser requests and multiple requests can access the data. Unlocked access to data by multiple requests at the same time can corrupt the data. While you can still use the CFLOCK tag introduced in ColdFusion 4.0 to control simultaneous access to shared data in these scopes, ColdFusion 4.5 provides more automatic means to protect shared data from incorrect access.

For each of the Server, Application and Session scopes, the Variable Locking Administrator page provides three choices for control - none, full checking, and automatic locking of read accesses: