jedenweb / session-storage
This package is abandoned and no longer maintained.
No replacement package was suggested.
Database SessionStorage for Nette Framework
v2.1.1
2014-07-01 12:05 UTC
Requires
- nette/nette: ~2.1
Requires (Dev)
- nette/tester: ~1.2
This package is not auto-updated.
Last update: 2020-01-24 15:11:15 UTC
README
Database SessionStorage for Nette Framework
Instalation
The best way to install jedenweb/session-storage is using Composer:
$ composer require jedenweb/session-storage:~2.1.0
After that you have to register extension in config.neon.
extensions:
sessionStorage: JedenWeb\SessionStorage\DI\DatabaseStorageExtension
Add table to your database
CREATE TABLE IF NOT EXISTS `session` (
`id` varchar(64) NOT NULL,
`timestamp` int(11) NOT NULL,
`data` longtext NOT NULL,
PRIMARY KEY (`id`),
KEY `timestamp` (`timestamp`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;