Umbraco/Reference/umbraco.library/Session

From Wikibooks, open books for an open world
< Umbraco | Reference | umbraco.library
Jump to: navigation, search

[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'. -->

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export