3.15.2009

onRequest() in application.cfc GOTCHA

If you read the docs it spells it out
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.
I often put my CFCs in a subdirectory under the application during development and I always forget this.   The remote access is needed for the AJAX functionality.

No comments: