AdobeStock_455007340

Don't Use the SERVER Scope

ColdFusion features a variable scope named SERVER which is shared by any and all applications and requests (as opposed to APPLICATION which is shared by a single application only). As a rule, the SERVER scope should not be used within your applications. Because it is shared it is highly susceptible to overwrites and conflicts. In addition, locking SERVER variables can dramatically impact performance. As a rule, use APPLICATION or SESSION, but avoid SERVER. (Applies to: ColdFusion All)

Leave a Reply