<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.

This tag cannot have a body.

This tag is also supported within <cfscript>

Attribute Description
addtoken
boolean, optional

Yes or No. clientManagement must be enabled, see cfapplication. Yes appends client variable information to the URL you specify in the url.

url
string, required

The URL of the HTML file or CFML page to open.

statuscode
number, optional

statuscode used for the redirect (301 or 302)

<cflocation
    [addtoken=boolean]
    url=string
    [statuscode=number]
>

Examples

There are currently no examples for this tag.

See also