Back to Joomla project (class list)

Class SessionManager - list of methods

Manager for interacting with the session handler to perform updates on sessions.
Package: Joomla\CMS\Session
Copyright: Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Session/SessionManager.php
Project: Joomla

Method Summary

public
(\SessionHandlerInterface $sessionHandler)

SessionManager constructor.
Parameters
  • \SessionHandlerInterface $sessionHandler Session handler.
Since
  • 4.0.0
Show source code of this method: __construct Source Code

public bool
(string $sessionId)

Destroys the given session ID.
Parameters
  • string $sessionId The session ID to destroy.
Returns
  • bool
Since
  • 4.0.0
Show source code of this method: destroySession Source Code

public bool
(array $sessionIds)

Destroys the given session IDs.
Parameters
  • string[] $sessionIds The session IDs to destroy.
Returns
  • bool
Since
  • 4.0.0
Show source code of this method: destroySessions Source Code

Properties Summary

private \SessionHandlerInterface
$sessionHandler
Session handler.
Since
  • 4.0.0

Tags Summary

Since
4.0.0