|
Size: | 8272 |
Storage flags: | no_autoload,compress/gzip (33%) |
Zend\Session\Storage\SessionArrayStorage provides a facility to store all information directly in the $_SESSION superglobal. This storage class provides the most compatibility with 3rd party libraries and allows for directly storing information into $_SESSION.
A basic example is one like the following:
1 2 3 4 5 | use Zend\Session\Storage\SessionArrayStorage;
use Zend\Session\SessionManager;
$manager = new SessionManager();
$manager->setStorage(new SessionArrayStorage());
|
The source code of this file is hosted on GitHub. Everyone can update and fix errors in this document with few clicks - no downloads needed.