Umbraco/Reference/umbraco.library/Session
From Wikibooks, the open-content textbooks collection
< Umbraco | Reference | umbraco.library
[edit] Purpose
Retrieve a value stored in a session variable.
[edit] Arguments
Session(String key)
key: the name of the session variable to retrieve.
[edit] Example XSLT Usage
<xsl:variable name="sessionVariable" select="umbraco.library:Session('sessionVariable')" />
<!-- $sessionVariable now refers to the value stored in the session variable called 'sessionVariable'. -->