REDROOM
PHP 8.1.33
Path:
Logout
Edit File
Size: 1.43 KB
Close
/home/jambtst2015/public_html/ida.com.ng/libraries/src/Session/SessionManager.php
Text
Base64
<?php /** * Joomla! Content Management System * * @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\CMS\Session; \defined('JPATH_PLATFORM') or die; /** * Manager for interacting with the session handler to perform updates on sessions. * * @since 4.0.0 */ final class SessionManager { /** * Session handler. * * @var \SessionHandlerInterface * @since 4.0.0 */ private $sessionHandler; /** * SessionManager constructor. * * @param \SessionHandlerInterface $sessionHandler Session handler. * * @since 4.0.0 */ public function __construct(\SessionHandlerInterface $sessionHandler) { $this->sessionHandler = $sessionHandler; } /** * Destroys the given session ID. * * @param string $sessionId The session ID to destroy. * * @return boolean * * @since 4.0.0 */ public function destroySession(string $sessionId): bool { return $this->sessionHandler->destroy($sessionId); } /** * Destroys the given session IDs. * * @param string[] $sessionIds The session IDs to destroy. * * @return boolean * * @since 4.0.0 */ public function destroySessions(array $sessionIds): bool { $result = true; foreach ($sessionIds as $sessionId) { if (!$this->destroySession($sessionId)) { $result = false; } } return $result; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 3 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
EventListener
DIR
-
drwxr-xr-x
2024-11-22 17:53:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Exception
DIR
-
drwxr-xr-x
2024-11-22 17:53:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Storage
DIR
-
drwxr-xr-x
2024-11-22 17:53:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
MetadataManager.php
8.08 KB
lrw-r--r--
2024-11-22 17:53:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Session.php
9.12 KB
lrw-r--r--
2024-11-22 17:53:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
SessionFactory.php
4.44 KB
lrw-r--r--
2024-11-22 17:53:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
SessionManager.php
1.43 KB
lrw-r--r--
2024-11-22 17:53:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).