ddtraceweb/symfony-redis-session-handler

There is no license information available for the latest version (0.1) of this package.

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 8

pkg:composer/ddtraceweb/symfony-redis-session-handler

0.1 2013-10-18 09:15 UTC

This package is auto-updated.

Last update: 2025-10-14 04:42:00 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);