Application and session variables

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:

Application.ApplicationName
Session.CFID
Session.CFToken
Session.URLToken

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online