Spec-Zone.ru › ColdFusion

onRequest

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

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

  • CF7+
  • BL 1.0.0+
  • See Also: application-cfc onrequeststart onrequestend

    Argument Reference

    targetPage string
    Required

    Requested template path relative to the webroot

    Examples
    Sample code invoking the onRequest function

    © 2012–present Foundeo, Inc. and the CFDocs contributors.
    Licensed under the MIT License.
    ColdFusion is a trademark of Adobe Systems Incorporated.
    https://cfdocs.org/onrequest

    Spec-Zone.ru

    Настройки Оффлайн Что нового Помощь О нас
    Spec-Zone .ru
    спецификации, руководства, описания, API