<cflocation>
Redirect the current request to another URL.
For example, you might use <cflocation> to specify a standard message or response that you use in several applications.
Use the addToken
attribute to verify client requests.
This tag may have a body.
This tag is also supported within <cfscript>
<cflocation
url=string
addtoken=boolean
abort=boolean
statuscode=number
encode=boolean
><!--- body --->[</cflocation>]
Examples
Syntax for cflocation
<cflocation url="filename.ext" addToken="false">
See also
- Core CFML Language
- Location()
- <cfforward>
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)