Gets an element added to the Url querystring of the current request.

Syntax

Smartsite SXML CopyCode image Copy Code
string request.query(string name)
string request.query(string name, boolean unsafeValue)

Parameters

Name Data Type Description
name String The name of the querystring parameter.
unsafeValue Boolean If set to true, an unsafe value is returned that might contain executable code.

Return Value

Data Type Description
String The value of the specified querystring parameter.

Expand image Example

SXML