location

Stops execution of the current request and rdirect to a other location.

Returns: void

Usage

location( url [, addToken [, statusCode ] ] )

Arguments

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)

Examples

There are currently no examples for this function