The following ColdFusion variable scopes maintain data that lasts beyond the scope of the current HTTP request:
| Variable scope | Variables available |
|---|---|
|
Server |
To all applications on a server and all clients |
|
Application |
To all pages in an application for all clients |
|
Client |
For a single client browser over multiple browser sessions in one application |
|
Session |
For a single client browser for a single browser session in one application |
For more information on using these variables, including how to use locks to ensure that the data they contain remains accurate, see Using Persistent Data and Locking.