Location()
Redirects the main request to the location given
Usage
STRING = Location(
url,
addtoken,
statuscode
)
Argument | Summary |
---|---|
url | url to redirect |
addtoken | add session flag - default true [optional] |
statuscode | status code to send - default 302 [optional] |
Calling
Supports named-parameter calling allowing you to use the function like:
Location( url=?, addtoken=?, statuscode=? );
Supports passing parameters as a structure using ArgumentCollection:
Location( ArgumentCollection={ url : ?, addtoken : ?, statuscode : ? } );