Chapter 12: Using the Application Framework
Behavior with CFINCLUDE
Only one
page. The presence of an
present in the directory tree, there is no way not to include it. For this reason, it is the
ideal location to set application-level variables.
When the requested application page has a CFINCLUDE tag pointing to an additional
application page, ColdFusion does not initiate another search up the directory tree
based on the included application page. This is an important behavior to understand.
Upon opening a requested application page, ColdFusion searches for the
Application.cfm
Creating the Application.cfm File
The special application-wide page called
settings and functions such as:
The application name
Client state management options
Application and session variables
Web Wonders, Inc.
Application.cfm
Products
Orders
Support
Services
file is ever processed for each ColdFusion application
Application.cfm
Application.cfm
file only once.
Bandwidth Associates
Application.cfm
file is an implicit CFINCLUDE. If it is
defines application-level
Application.cfm
187
Products
Consulting
Application.cfm
Marketing
Application.cfm
Sales
Application.cfm