You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

set_session_attribute()

Usage

set_session_attribute(key, value)

Description
This method can be used to store a value under the given key in the user session.

Example

${set_session_attribute('do_not_track', true)}

Search results for "set_session_attribute()"

set_session_attribute()

This method can be used to store a value under the given key in the user session.

set_session_attribute(key, value)