Contents

cflocation

Description

Opens a ColdFusion page or HTML file. For example, you might use cflocation to specify a standard message or response that you use in several ColdFusion applications. Use the addToken attribute to verify client requests.

Category

Other

Implemented

Usage Syntax

<cflocation  
	url="String"
	[statuscode="number"]
	[addToken="Boolean"]
 />

[] = Optional attribute

Attributes

Name Type Required Default Description
url String Yes The URL of the HTML file or CFML page to open.
statuscode number No statuscode used for the redirect (301 or 302)
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.

Example Usage