|
Size: | 8217 |
Storage flags: | no_autoload,compress/gzip (33%) |
Zend\Session\Storage\SessionStorage replaces $_SESSION providing a facility to store all information in an ArrayObject. This means that it may not be compatible with 3rd party libraries. Although information stored in the $_SESSION superglobal should be available in other scopes.
A basic example is one like the following:
1 2 3 4 5 | use Zend\Session\Storage\SessionStorage;
use Zend\Session\SessionManager;
$manager = new SessionManager();
$manager->setStorage(new SessionStorage());
|
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.