Link Search Menu Expand Document

get_session

The get_session tag can be used to fetch value contained within any PHP session variable set by the set_session tag.

Parameters

  • name

name

The name of the PHP session variable the value of which is to be retrieved.

Variables

This is a self closing tag and sets no variables of its own.

Example

<cms:get_session 'greeting' />