onRequestStart

Defined in Application.cfc, invoked when the request starts before onRequest.

function onRequestStart(string targetPage) { return true; } → returns boolean

Argument Reference

targetPage string
Required

Requested template path relative to the webroot

Examples
Sample code invoking the onRequestStart function

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

Fork me on GitHub