Location

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

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

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)

Examples

There are currently no examples for this function

See also