User Guide

Chapter 12
Using the Application
Framework
The ColdFusion Web Application Framework is a powerful tool that you can use to
help structure your ColdFusion applications. This chapter describes how to create
and use the Application.cfm file, the application page that controls the application
framework.
Contents
Understanding the Web Application Framework.................................................214
Mapping an Application Framework.....................................................................216
Creating the Application.cfm File..........................................................................219
Managing the Client State ......................................................................................221
Configuring and Using Client Variables................................................................223
Using Session Variables ..........................................................................................228
Using Application Variables ...................................................................................230
Using Server Variables ............................................................................................232
Locking Code with cflock........................................................................................233
Examples of cflock...................................................................................................238