To enable application and session variables, use the cfapplication tag or Application.cfc. Reference them as follows:
Application.myvariable
Session.myvariable
To ensure that modifications to shared data occur in the intended sequence, use the cflock tag. For more information, see cflock.
ColdFusion provides the following predefined application and session variables: