Whatever message this page gives is out now! Go check it out!

Application and session variables

Last update:
May 18, 2026
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

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page