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)}
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.
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)}
This method can be used to store a value under the given key in the user session.
set_session_attribute(key, value)