dmitry-suffi / redis-session-handler
Обработчик сессий через Redis с механизмом блокировки
Package info
github.com/dmitry-suffi/redis-session-handler
Type:project
pkg:composer/dmitry-suffi/redis-session-handler
1.0.4
2017-06-30 13:11 UTC
README
Description
Used to store php sessions radishes.
The mechanism locks: one is the process of working with the session, the second process is waiting.
Installation
composer require dmitry-suffi/redis-session-handler
Using
$redis = new Redis(); if ($redis->connect('11.111.111.11', 6379) && $redis->select(0)) { $handler = new \suffi\RedisSessionHandler\RedisSessionHandler($redis); session_set_save_handler($handler); } session_start();