SessionManager::getSessionDataMask

protected SessionManager::getSessionDataMask() Returns a map specifying which session key is containing user data. Return value array An array where keys correspond to the session keys and the values are booleans specifying whether the corresponding session key contains any user data. File core/lib/Drupal/Core/Session/SessionManager.php, line 306 Class SessionManager Manages user sessions. Namespace Drupal\Core\Session Code protected function getSessionDataMask() { if (empty($_SESSI

SessionManager::isCli

protected SessionManager::isCli() Returns whether the current PHP process runs on CLI. Command line clients do not support cookies nor sessions. Return value bool File core/lib/Drupal/Core/Session/SessionManager.php, line 282 Class SessionManager Manages user sessions. Namespace Drupal\Core\Session Code protected function isCli() { return PHP_SAPI === 'cli'; }

SessionManager::$writeSafeHandler

The write safe session handler. @todo: This reference should be removed once all database queries are removed from the session manager class. Type: \Drupal\Core\Session\WriteSafeSessionHandlerInterface File core/lib/Drupal/Core/Session/SessionManager.php, line 68 Class SessionManager Manages user sessions. Namespace Drupal\Core\Session Code protected $writeSafeHandler;

SessionManager::delete

public SessionManager::delete($uid) Ends a specific user's session(s). Parameters int $uid: User ID. Overrides SessionManagerInterface::delete File core/lib/Drupal/Core/Session/SessionManager.php, line 241 Class SessionManager Manages user sessions. Namespace Drupal\Core\Session Code public function delete($uid) { // Nothing to do if we are not allowed to change the session. if (!$this->writeSafeHandler->isSessionWritable() || $this->isCli()) { return; } $this->

SessionManager::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/lib/Drupal/Core/Session/SessionManager.php, line 37 Class SessionManager Manages user sessions. Namespace Drupal\Core\Session Code protected $requestStack;

SessionManager::$connection

The database connection to use. Type: \Drupal\Core\Database\Connection File core/lib/Drupal/Core/Session/SessionManager.php, line 44 Class SessionManager Manages user sessions. Namespace Drupal\Core\Session Code protected $connection;

SessionManager::$sessionConfiguration

The session configuration. Type: \Drupal\Core\Session\SessionConfigurationInterface File core/lib/Drupal/Core/Session/SessionManager.php, line 51 Class SessionManager Manages user sessions. Namespace Drupal\Core\Session Code protected $sessionConfiguration;

SessionManager::$startedLazy

Whether a lazy session has been started. Type: bool File core/lib/Drupal/Core/Session/SessionManager.php, line 58 Class SessionManager Manages user sessions. Namespace Drupal\Core\Session Code protected $startedLazy;

SessionManager

Manages user sessions. This class implements the custom session management code inherited from Drupal 7 on top of the corresponding Symfony component. Regrettably the name NativeSessionStorage is not quite accurate. In fact the responsibility for storing and retrieving session data has been extracted from it in Symfony 2.1 but the class name was not changed. @todo In fact the NativeSessionStorage class already implements all of the functionality required by a typical Symfony application. Normal

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