Location()

Stops execution of the current request and redirect to another location.

Location( url=string, addToken=boolean, statusCode=numeric, encode=boolean );

Returns: void

Argument Description
url
string, required

URL where the call should redirect

addToken
boolean, optional

appends client variable information to URL (true|false)

statusCode
numeric, optional

The HTTP status code (301,302(default), 303, 304, 305, 307)

encode
boolean, optional

Encode the given URL value

Examples

There are currently no examples for this function 26,096ms WARN No examples for function location

See also