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 arguments, the sequence is: location (url, addToken, statusCode) See alsoUsageYou can call this function as name=value pair or as positional argument. In case of positional arguments, the order of the parameters remains the same as the corresponding tag or as mentioned in the preceding Function Syntax section. Example<cfscript location(url="http://localhost:8500/administrator") </cfscript> |