I am wondering if anyone knows how to store an array in a user session?
This is a method for storing a single attribute:
$this->getUser()->setAttribute('something', $something);
And the documentation says:
"Custom attributes can store any type of data (strings, arrays and associative arrays)"
... but says nothing more. The API documentation does not have "SetAttributes" or something like that.
Thanks.
source share