location

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

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

Argument Reference for the location function

url

Required: Yes
URL of HTML file or CFML page to open.

addtoken

Required: No
clientManagement must be enabled (see cfapplication).

statuscode

Required: No
The HTTP status code


Fork me on GitHub