mbr_session
Usage
This shortcode returns the value of the specified $_SESSION variable.
The session variable will have been previously set programmatically through your own script.
Parameters
Parameters | Description |
---|---|
var | The name of the $_SESSION variable to retrieve. Default: none. Required: yes. |
Validity
This shortcode is evaluated for any type of visitor.
Conditional Branching
This shortcode does NOT support conditional branching with [ELSE_session].
Nesting
Shortcode nesting is NOT supported.
Examples
- Example 1
Will return the value of $_SESSION['myNAME'] if it exists.:
[mbr_session var='myNAME']
API
Note
There is currently no ActiveMember360 API function equivalent for this shortcode.