location

Stops execution of the current page and opens a CFML page or HTML file.

location(url [, addtoken] [, statuscode]) → returns void

location Argument Reference

url string
Required

URL of HTML file or CFML page to open.

addtoken boolean

clientManagement must be enabled (see cfapplication).
Values:
  • true
  • false

statuscode numeric

The HTTP status code

Fork me on GitHub