User Guide
C HAPTER 12
Chapter 12 Using the Application
Framework
The ColdFusion Web Application Framework is a powerful tool you can use to help
structure your ColdFusion applications. This section describes how to create and use
the Application.cfm file, the application page that controls the application
framework.
Contents
• Understanding the Web Application Framework........................................ 184
• Mapping Out an Application Framework .................................................... 185
• Creating the Application.cfm File................................................................. 187
• Setting up client state management options............................................... 188
• Managing Client State in a Clustered Environment.................................... 190
• Using Client State Management ................................................................... 190
• Using Client Variables.................................................................................... 191
• Application and Session Variables................................................................ 193
• Using Session Variables ................................................................................. 194
• Using Application Variables .......................................................................... 196
• Tips for Using Session and Application Variables ....................................... 197
• Default Variables and Constants................................................................... 197
• Using CFLOCK for Exclusive Locking........................................................... 198
• CFLOCK Examples ......................................................................................... 200