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

Use persistent data and locking

Last update:
May 18, 2026
Adobe ColdFusion provides several variable scopes in which data persists past the life of a single request. These are the Client, Application, Session, and Server scopes. These scopes let you save data over time and share data between pages and even applications. Use these scopes as persistent scopes. In particular, use the Client and Session scopes to maintain information about a user across multiple requests. ColdFusion lets you lock access to sections of code to ensure that ColdFusion does not attempt to run the code, or access the data that it uses, simultaneously or in an unpredictable order. This locking feature is important for ensuring the consistency of all shared data, including data in external sources in addition to data in persistent scopes. You can use persistent scopes to develop an application and use locking to ensure data consistency.

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