WriteSafeSessionHandler::$sessionWritable

Whether or not the session is enabled for writing. Type: bool File core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php, line 20 Class WriteSafeSessionHandler Wraps another SessionHandlerInterface to prevent writes when not allowed. Namespace Drupal\Core\Session Code protected $sessionWritable;

WriteSafeSessionHandler::$wrappedSessionHandler

Type: \SessionHandlerInterface File core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php, line 13 Class WriteSafeSessionHandler Wraps another SessionHandlerInterface to prevent writes when not allowed. Namespace Drupal\Core\Session Code protected $wrappedSessionHandler;

WriteSafeSessionHandler::close

public WriteSafeSessionHandler::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/WriteSafeSessionHandler.php, line 38 Class WriteSafeSessionHandler Wraps another SessionHandlerInterface to prevent writes when not allowed. Namespace Drupal\Core\Session Code public function close() { return $this->wrappedSessionHand

WriteSafeSessionHandler::destroy

public WriteSafeSessionHandler::destroy($session_id) 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/WriteSafeSessionHandler.php, line 45 Class WriteSafeSessionHandler Wraps another SessionHandlerInterface to prevent writes when not allowed. Namespace

WriteSafeSessionHandler::gc

public WriteSafeSessionHandler::gc($max_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/WriteSafeSessionHandler.php, line 52 Class WriteSafeSessionHandler Wraps another SessionHandlerInterf

WriteSafeSessionHandler::isSessionWritable

public WriteSafeSessionHandler::isSessionWritable() Returns whether or not a session may be written to storage. Return value bool TRUE if the session the session is allowed to be written, FALSE otherwise. Overrides WriteSafeSessionHandlerInterface::isSessionWritable File core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php, line 92 Class WriteSafeSessionHandler Wraps another SessionHandlerInterface to prevent writes when not allowed. Namespace Drupal\Core\Session Code public funct

WriteSafeSessionHandler::open

public WriteSafeSessionHandler::open($save_path, $session_id) 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/WriteSafeSessionHandler.php, line 59 Class WriteSafeSessionHandler Wraps ano

WriteSafeSessionHandler::read

public WriteSafeSessionHandler::read($session_id) 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/WriteSafeSessionHandler.php, line 66 Class WriteSafeSessionHandler Wraps another SessionHandlerInterfa

WriteSafeSessionHandler::setSessionWritable

public WriteSafeSessionHandler::setSessionWritable($flag) Sets whether or not a session may be written to storage. It is not possible to enforce writing of the session data. This method is only capable of forcibly disabling that session data is written to storage. Parameters bool $flag: TRUE if the session the session is allowed to be written, FALSE otherwise. Overrides WriteSafeSessionHandlerInterface::setSessionWritable File core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php, line 85

WriteSafeSessionHandler::write

public WriteSafeSessionHandler::write($session_id, $session_data) 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 h