We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6feb965 + 7638635 commit e61c73cCopy full SHA for e61c73c
src/Session/SessionHandler.php
@@ -51,7 +51,7 @@ public function __construct(CacheItemPoolInterface $cache, array $options = arra
51
{
52
$this->cache = $cache;
53
54
- $this->ttl = isset($options['cookie_lifetime']) ? (int) $options['cookie_lifetime'] : 86400;
+ $this->ttl = isset($options['ttl']) ? (int) $options['ttl'] : 86400;
55
$this->prefix = isset($options['prefix']) ? $options['prefix'] : 'sf2ses_';
56
}
57
0 commit comments