The first thing we need to do is to understand how this application page is called. When a
.cfc file is called, the server seeks for an
Application.cfc file in that directory. It also looks for an
Application.cfm file. We do not create application or session scope with the
.cfm version because.cfc is much more powerful. It provides for better encapsulation and code reuse. If the file is found, ColdFusion runs it. If the file is not found, then it moves up one directory towards the sever root directory in order to search for an
Application.cfc file. The search stops either when a file is found, or once it reaches the root directory and a file is not found.
There are several methods in the