Lucee Tag Reference
<cflocation>
Opens a CFML page or HTML file. 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.
Body
Dieses Tag darf einen Body haben, muss aber nicht.
Beispiel
<cflocation [addtoken=boolean] [statuscode=number] url=string> [</cflocation>]
Diese tag kann auch innerhalb von cfscript verwendet werden
<cfscript> location [addtoken=boolean] [statuscode=number] url=string { [...] } </cfscript>
Attribute
The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
| Name | Typ | Required | Beschreibung |
|---|---|---|---|
| addtoken | boolean | No | Yes or No. clientManagement must be enabled, see cfapplication. Yes appends client variable information to the URL you specify in the url. |
| statuscode | number | No | statuscode used for the redirect (301 or 302) |
| url | string | Yes | The URL of the HTML file or CFML page to open. |