- Implement this method only if the following are true:
- The directory, and any subdirectories affected by this Application.cfc contain CFM files and do not contain any CFC files that are intended to be accessed as web services, using Flash Remoting, or using an event gateway.
- You want to intercept the request and process it in a special way.
Application.cfc - onRequest() and CFCs
April 7, 2005 ·
Now that people are starting to use Application.cfc they are starting to trip over a gotcha with onRequest(). Read the LiveDocs reference for the onRequest() method! Or, if you're too lazy to read the documentation (as if!), I'll quote the relevant paragraph here for you: