Redis-based sessions implementation.
use web\session\{Sessions, InRedis};
$inject->bind(Sessions::class, new InRedis('redis://localhost'));
To use authentication, pass it as username in the connection string, e.g. redis://secret@localhost.
Redis-based sessions implementation.
use web\session\{Sessions, InRedis};
$inject->bind(Sessions::class, new InRedis('redis://localhost'));
To use authentication, pass it as username in the connection string, e.g. redis://secret@localhost.