SessionHandler::open

public SessionHandler::open($save_path, $name) Re-initializes existing session, or creates a new one. Parameters string $savePath Save path: string $sessionName Session name, see http://php.net/function.session-name.php: Return value bool true on success, false on failure Overrides SessionHandlerInterface::open See also http://php.net/sessionhandlerinterface.open File core/lib/Drupal/Core/Session/SessionHandler.php, line 49 Class SessionHandler Default session handler. Namespace Drup

SessionHandler::read

public SessionHandler::read($sid) Reads the session data. Parameters string $sessionId Session ID, see http://php.net/function.session-id: Return value string Same session data as passed in write() or empty string when non-existent or on failure Overrides SessionHandlerInterface::read See also http://php.net/sessionhandlerinterface.read File core/lib/Drupal/Core/Session/SessionHandler.php, line 56 Class SessionHandler Default session handler. Namespace Drupal\Core\Session Code publi

SessionHandler::write

public SessionHandler::write($sid, $value) Writes the session data to the storage. Care, the session ID passed to write() can be different from the one previously received in read() when the session ID changed due to session_regenerate_id(). Parameters string $sessionId Session ID , see http://php.net/function.session-id: string $data Serialized session data to save: Return value bool true on success, false on failure Overrides SessionHandlerInterface::write See also http://php.net/sessionha

SessionHandler::close

public SessionHandler::close() Closes the current session. Return value bool true on success, false on failure Overrides SessionHandlerInterface::close See also http://php.net/sessionhandlerinterface.close File core/lib/Drupal/Core/Session/SessionHandler.php, line 102 Class SessionHandler Default session handler. Namespace Drupal\Core\Session Code public function close() { return TRUE; }

SessionHandler

Default session handler. Hierarchy class \Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxyclass \Drupal\Core\Session\SessionHandler implements SessionHandlerInterface uses DependencySerializationTrait File core/lib/Drupal/Core/Session/SessionHandler.php, line 15 Namespace Drupal\Core\Session Members Name Modifiers Type Description AbstractProxy::$active protected property AbstractProxy::$saveHandlerName protected property AbstractProxy::$wr

SessionHandler::gc

public SessionHandler::gc($lifetime) Cleans up expired sessions (garbage collection). Parameters string|int $maxlifetime Sessions that have not updated for the last maxlifetime seconds will be removed: Return value bool true on success, false on failure Overrides SessionHandlerInterface::gc See also http://php.net/sessionhandlerinterface.gc File core/lib/Drupal/Core/Session/SessionHandler.php, line 121 Class SessionHandler Default session handler. Namespace Drupal\Core\Session Code

SessionHandler::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/lib/Drupal/Core/Session/SessionHandler.php, line 24 Class SessionHandler Default session handler. Namespace Drupal\Core\Session Code protected $requestStack;

SessionHandler::destroy

public SessionHandler::destroy($sid) Destroys a session. Parameters string $sessionId Session ID, see http://php.net/function.session-id: Return value bool true on success, false on failure Overrides SessionHandlerInterface::destroy See also http://php.net/sessionhandlerinterface.destroy File core/lib/Drupal/Core/Session/SessionHandler.php, line 109 Class SessionHandler Default session handler. Namespace Drupal\Core\Session Code public function destroy($sid) { // Delete session da

SessionHandler::$connection

The database connection. Type: \Drupal\Core\Database\Connection File core/lib/Drupal/Core/Session/SessionHandler.php, line 31 Class SessionHandler Default session handler. Namespace Drupal\Core\Session Code protected $connection;

SessionConfiguration::__construct

public SessionConfiguration::__construct($options = []) Constructs a new session configuration instance. Parameters array $options: An associative array of session ini settings. See also \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage::__construct() http://php.net/manual/session.configuration.php File core/lib/Drupal/Core/Session/SessionConfiguration.php, line 26 Class SessionConfiguration Defines the default session configuration generator. Namespace Drupal\Cor