In ColdFusion, inside the
Application.cfc file, there are several standard events:
onApplicationStart(), onSessionStart(), onRequestStart(), and others. Many ColdFusion-based MVC frameworks have standard events inside the controllers. The COOP page controller follows the same concept. The following are the common event methods in the coprocessor (COOP controllers):
COOP handles calling the events methods at the proper time. The following diagram illustrates the flow of the request. We can see that after the page start method is called, COOP chooses to either call the
onPostBack() method. As illustrated, the ...