|
ColdFusion 9.0 Resources |
LocationDescriptionA function equivalent of the cflocation tag and is used in the <cfscript> mode. ParametersSame as the <cflocation> tag. CategoryFunction syntaxlocation("url", addtoken, statusCode);
For positional notations, the sequence must be followed exactly in the same manner as provided in the syntax. If you do not provide one of the parameters, use an empty string instead. This does not apply to Boolean values for which you must provide proper values even if you have to skip them. See alsoUsageYou can call this function as name=value pair or as positional argument. Example<cfscript
location(url="http://localhost:8500/administrator")
</cfscript>
|