Determines whether the specified client session state exists

Syntax

Smartsite SXML CopyCode image Copy Code
boolean session.exists(string key)

Parameters

Name Data Type Description
key String The key.

Return Value

Data Type Description
Boolean True if the specified context contains state; otherwise, false.
SXML