| SessionHandler.php |
file |
core/lib/Drupal/Core/Session/SessionHandler.php |
|
| SessionHandler::$connection |
property |
core/lib/Drupal/Core/Session/SessionHandler.php |
The database connection. |
| SessionHandler::$requestStack |
property |
core/lib/Drupal/Core/Session/SessionHandler.php |
The request stack. |
| SessionHandler::close |
function |
core/lib/Drupal/Core/Session/SessionHandler.php |
|
| SessionHandler::destroy |
function |
core/lib/Drupal/Core/Session/SessionHandler.php |
|
| SessionHandler::ensureTableExists |
function |
core/lib/Drupal/Core/Session/SessionHandler.php |
Check if the session table exists and create it if not. |
| SessionHandler::gc |
function |
core/lib/Drupal/Core/Session/SessionHandler.php |
|
| SessionHandler::open |
function |
core/lib/Drupal/Core/Session/SessionHandler.php |
|
| SessionHandler::read |
function |
core/lib/Drupal/Core/Session/SessionHandler.php |
|
| SessionHandler::schemaDefinition |
function |
core/lib/Drupal/Core/Session/SessionHandler.php |
Defines the schema for the session table. |
| SessionHandler::write |
function |
core/lib/Drupal/Core/Session/SessionHandler.php |
|
| SessionHandler::__construct |
function |
core/lib/Drupal/Core/Session/SessionHandler.php |
Constructs a new SessionHandler instance. |
| SessionHttpsTest |
class |
core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php |
Ensure that when running under HTTPS two session cookies are generated. |
| SessionHttpsTest.php |
file |
core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php |
|
| SessionHttpsTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php |
The theme to install as the default for testing. |
| SessionHttpsTest::$insecureSessionName |
property |
core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php |
The name of the session cookie when using HTTP. |
| SessionHttpsTest::$modules |
property |
core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php |
Modules to install. |
| SessionHttpsTest::$secureSessionName |
property |
core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php |
The name of the session cookie when using HTTPS. |
| SessionHttpsTest::assertSessionIds |
function |
core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php |
Tests that there exists a session with two specific session IDs. |
| SessionHttpsTest::getGuzzleCookieJar |
function |
core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php |
Creates a new Guzzle CookieJar with a Xdebug cookie if necessary. |
| SessionHttpsTest::getPathFromLocationHeader |
function |
core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php |
Extracts internal path from the location header on the response. |
| SessionHttpsTest::getUserLoginFormBuildId |
function |
core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php |
Gets the form build ID for the user login form. |
| SessionHttpsTest::httpsUrl |
function |
core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php |
Builds a URL for submitting a mock HTTPS request to HTTP test environments. |
| SessionHttpsTest::httpUrl |
function |
core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php |
Builds a URL for submitting a mock HTTP request to HTTPS test environments. |
| SessionHttpsTest::loginHttp |
function |
core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php |
Log in a user via HTTP. |
| SessionHttpsTest::loginHttps |
function |
core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php |
Log in a user via HTTPS. |
| SessionHttpsTest::setUp |
function |
core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php |
|
| SessionHttpsTest::testHttpsSession |
function |
core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php |
Tests HTTPS sessions. |
| SessionManager |
class |
core/lib/Drupal/Core/Session/SessionManager.php |
Manages user sessions. |
| SessionManager.php |
file |
core/lib/Drupal/Core/Session/SessionManager.php |
|
| SessionManager::$connection |
property |
core/lib/Drupal/Core/Session/SessionManager.php |
The database connection to use. |
| SessionManager::$requestStack |
property |
core/lib/Drupal/Core/Session/SessionManager.php |
The request stack. |
| SessionManager::$sessionConfiguration |
property |
core/lib/Drupal/Core/Session/SessionManager.php |
The session configuration. |
| SessionManager::$startedLazy |
property |
core/lib/Drupal/Core/Session/SessionManager.php |
Whether a lazy session has been started. |
| SessionManager::$writeSafeHandler |
property |
core/lib/Drupal/Core/Session/SessionManager.php |
The write safe session handler. |
| SessionManager::delete |
function |
core/lib/Drupal/Core/Session/SessionManager.php |
Ends a specific user's session(s). |
| SessionManager::destroy |
function |
core/lib/Drupal/Core/Session/SessionManager.php |
Destroys the current session and removes session cookies. |
| SessionManager::getSessionDataMask |
function |
core/lib/Drupal/Core/Session/SessionManager.php |
Returns a map specifying which session key is containing user data. |
| SessionManager::isCli |
function |
core/lib/Drupal/Core/Session/SessionManager.php |
Returns whether the current PHP process runs on CLI. |
| SessionManager::isSessionObsolete |
function |
core/lib/Drupal/Core/Session/SessionManager.php |
Determines whether the session contains user data. |
| SessionManager::regenerate |
function |
core/lib/Drupal/Core/Session/SessionManager.php |
|
| SessionManager::save |
function |
core/lib/Drupal/Core/Session/SessionManager.php |
|
| SessionManager::setWriteSafeHandler |
function |
core/lib/Drupal/Core/Session/SessionManager.php |
Sets the write safe session handler. |
| SessionManager::start |
function |
core/lib/Drupal/Core/Session/SessionManager.php |
|
| SessionManager::startNow |
function |
core/lib/Drupal/Core/Session/SessionManager.php |
Forcibly start a PHP session. |
| SessionManager::__construct |
function |
core/lib/Drupal/Core/Session/SessionManager.php |
Constructs a new session manager instance. |
| SessionManagerDestroyNoCliCheckTest |
class |
core/tests/Drupal/KernelTests/Core/Session/SessionManagerDestroyNoCliCheckTest.php |
Tests starting and destroying a session from the CLI. |
| SessionManagerDestroyNoCliCheckTest.php |
file |
core/tests/Drupal/KernelTests/Core/Session/SessionManagerDestroyNoCliCheckTest.php |
|
| SessionManagerDestroyNoCliCheckTest::testCallSessionManagerStartAndDestroy |
function |
core/tests/Drupal/KernelTests/Core/Session/SessionManagerDestroyNoCliCheckTest.php |
Tests starting and destroying a session from the CLI. |
| SessionManagerInterface |
interface |
core/lib/Drupal/Core/Session/SessionManagerInterface.php |
Defines the session manager interface. |