Summary
This chapter included information on application, session, and request scope management in ColdFusion.
You may also find it practical to perform logging, closing connections, and more in the end methods of Application.cfc
. Here is a list of what was covered in this chapter:
Application.cfc
The concept of variable scope
The various methods of the
Application.cfc
classSetting per application mappings and custom tag paths
Use of the
OnRequest()
methodModification of our persistent application and session items in
onRequestStart()
andonRequestEnd()
Creating persistent variables and packaging them up into classes wherever possible