CHAPTER 5
Application.CFC Reference
This chapter describes the methods that you implement in Application.cfc to handle Macromedia
ColdFusion MX 7 application events. It also describes the variables that you set in the CFC to
configure application characteristics.
Contents
Application variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 945
Method summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 946
Method descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 948
Note: Although Windows is case-insensitive, Macromedia recommends that you always start the
Application.cfc filename with an uppoercase A. Both application.cfc and Application.cfc are reserved
words.
Note: If your application has an Application.cfc, and an Application.cfm or onRequestend.cfm page,
ColdFusion MX ignores the CFM pages.
Application variables
The This scope for the Application.cfc contains several built-in variables which correspond to the
attributes that you set in the
tag. You set the values of these variables in the CFC
cfapplication
initialization code, before you define the CFC methods. You can access the variables in any
method.
945