Returns true if the given State variable exists. Note: Request.State is a wrapper around the HttpContext.Items collection.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean request.state.exists(string name)

Parameters

Name Data Type Description
name String The name of the state variable.

Return Value

Data Type Description
Boolean Boolean indicating if specified state variable exists.

Expand image Example

SXML