Using Application Variables

So far in this chapter, you have seen how ColdFusion’s Web application framework features help you maintain a consistent look and feel throughout your application. You’ve also seen how easy it is to set up “before and after” processing with the special Application.cfc component and the onRequestStart and onRequestEnd methods. In other words, your pages are starting to look and behave cohesively.

Next, you will learn how your application’s templates can start sharing variables between page requests. Basically, this is the part where your application gets a piece of the server’s memory in which to store values. This is where it gets a brain.

Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.