ddtraceweb / symfony-redis-session-handler
There is no license information available for the latest version (0.1) of this package.
0.1
2013-10-18 09:15 UTC
Requires
- ext-redis: *
- symfony/http-foundation: >=1.0
This package is auto-updated.
Last update: 2024-11-14 02:29:10 UTC
README
This is a fork of Baachi's work
Use
use Symfony\Component\HttpFoundation\Session\Storage\Handler\RedisSessionHandler; $sessionTimeout = 60 * 60 * 24 * 7; // 1 week $redisClient = new \Redis('localhost'); new RedisSessionHandler($redisClient, $sessionTimeout);