CacheSessionHandler
class CacheSessionHandler extends AbstractSessionHandler (View source)
Session save handler that stores session data in an in a PSR-16 cache.
Methods
Details
protected int
getLifetime()
Get the session lifetime in seconds.
Returns the cookie lifetime if it's non-zero, otherwise returns the garbage collection lifetime.
__construct(CacheInterface $cache)
No description
bool
open(string $path, string $name)
No description
bool
close()
No description
bool
destroy(string $id)
No description
int|false
gc(int $max_lifetime)
No description
string|false
read(string $id)
No description
bool
write(string $id, string $data)
No description
bool
validateId(string $id)
No description
bool
updateTimestamp(string $id, string $data)
No description