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

This package is auto-updated.

Last update: 2024-10-14 02:24:06 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);