SessionManager implements SingletonInterface

Class SessionManager

Example Configuration

$GLOBALS['TYPO3_CONF_VARS']['SYS']['session'] => [ 'BE' => [ 'backend' => \TYPO3\CMS\Core\Session\Backend\FileSessionBackend::class, 'savePath' => '/var/www/t3sessionframework/data/' ] ]

Table of Contents

Interfaces

SingletonInterface
"empty" interface for singletons (marker interface pattern)

Properties

$sessionBackends  : array<string|int, SessionBackendInterface>

Methods

getSessionBackend()  : SessionBackendInterface
Gets the currently running session backend for the given context
invalidateAllSessionsByUserId()  : mixed
Removes all sessions for a specific user ID
createSessionBackendFromConfiguration()  : SessionBackendInterface
Creates a session backend from configuration

Properties

Methods

createSessionBackendFromConfiguration()

Creates a session backend from configuration

protected createSessionBackendFromConfiguration(string $identifier, array<string, class-string> $configuration) : SessionBackendInterface
Parameters
$identifier : string

the identifier

$configuration : array<string, class-string>

The session configuration array

Tags
throws
InvalidArgumentException
Return values
SessionBackendInterface

        
On this page

Search results