Location()

edit

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
edit

URL where the call should redirect

addToken
boolean, optional
edit

appends client variable information to URL (true|false)

statusCode
numeric, optional
edit

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

encode
boolean, optional
edit

Encode the given URL value

Examples

There are currently no examples for this function 36,378ms WARN No examples for function location

See also