AdobeStock_455007340

Lock IsDefined() Checks

Home » Lock IsDefined() Checks

Everyone knows that access to shared scopes (like APPLICATION) must be locked, both read access (locked with READONLY) and write access (locked with EXCLUSIVE). But many don’t realize that an IsDefined() test is a read and must be locked too. So, if you have code that looks like make sure to lock it. (Applies to: ColdFusion All)

Leave a Reply