Sets the value of the given State variable. Note: Request.State is a wrapper around the HttpContext.Items collection.

Syntax

Smartsite SXML CopyCode image Copy Code
request.state.set(string name, any value)

Parameters

Name Data Type Description
name String The name of the state variable.
value Any The value to be set.

Return Value

None.

Expand image Example

SXML