onRequest

Defined in Application.cfc, invoked when the request starts after onRequestStart.

onRequest(string targetPage) { include arguments.targetPage; } → returns void

Argument Reference

targetPage string
Required

Requested template path relative to the webroot

Examples
Sample code invoking the onRequest function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub