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


Fork me on GitHub