Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
SessionManager::destroy function core/lib/Drupal/Core/Session/SessionManager.php
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::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.
SessionManagerInterface.php file core/lib/Drupal/Core/Session/SessionManagerInterface.php
SessionManagerInterface::destroy function core/lib/Drupal/Core/Session/SessionManagerInterface.php Destroys the current session and removes session cookies.
SessionManagerTest class core/tests/Drupal/Tests/Core/Session/SessionManagerTest.php Tests Drupal\Core\Session\SessionManager.
SessionManagerTest.php file core/tests/Drupal/Tests/Core/Session/SessionManagerTest.php
SessionManagerTest::testDeprecatedMiddlewaresArgument function core/tests/Drupal/Tests/Core/Session/SessionManagerTest.php Tests that session manager is constructed with deprecated argument list.
Sessions group core/core.api.php Store and retrieve data associated with a user's browsing session.
SessionTest class core/tests/Drupal/FunctionalJavascriptTests/Core/Session/SessionTest.php Tests that sessions don't expire.
SessionTest class core/modules/system/tests/src/Functional/Session/SessionTest.php Drupal session handling tests.
SessionTest.php file core/modules/system/tests/src/Functional/Session/SessionTest.php
SessionTest.php file core/tests/Drupal/FunctionalJavascriptTests/Core/Session/SessionTest.php
SessionTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Core/Session/SessionTest.php
SessionTest::$defaultTheme property core/modules/system/tests/src/Functional/Session/SessionTest.php
SessionTest::$modules property core/modules/system/tests/src/Functional/Session/SessionTest.php
SessionTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Core/Session/SessionTest.php
SessionTest::assertSessionCookie function core/modules/system/tests/src/Functional/Session/SessionTest.php Assert whether the test browser sent a session cookie.
SessionTest::assertSessionEmpty function core/modules/system/tests/src/Functional/Session/SessionTest.php Assert whether the session is empty at the beginning of the request.
SessionTest::sessionReset function core/modules/system/tests/src/Functional/Session/SessionTest.php Reset the cookie file so that it refers to the specified user.
SessionTest::setUp function core/tests/Drupal/FunctionalJavascriptTests/Core/Session/SessionTest.php
SessionTest::testAnonymousSessionFixation function core/modules/system/tests/src/Functional/Session/SessionTest.php Tests that an invalid session ID in the cookie is rejected.
SessionTest::testDataPersistence function core/modules/system/tests/src/Functional/Session/SessionTest.php Tests data persistence via the session_test module callbacks.
SessionTest::testEmptyAnonymousSession function core/modules/system/tests/src/Functional/Session/SessionTest.php Tests that empty anonymous sessions are destroyed.
SessionTest::testEmptySessionID function core/modules/system/tests/src/Functional/Session/SessionTest.php Tests that empty session IDs are not allowed.
SessionTest::testSessionBag function core/modules/system/tests/src/Functional/Session/SessionTest.php Tests session bag.
SessionTest::testSessionExpiration function core/tests/Drupal/FunctionalJavascriptTests/Core/Session/SessionTest.php Tests that the session doesn't expire.
SessionTest::testSessionPersistenceOnLogin function core/modules/system/tests/src/Functional/Session/SessionTest.php Tests storing data in Session() object.
SessionTest::testSessionSaveRegenerate function core/modules/system/tests/src/Functional/Session/SessionTest.php Tests session writing and regeneration.
SessionTest::testSessionWrite function core/modules/system/tests/src/Functional/Session/SessionTest.php Tests that sessions are only saved when necessary.
SessionTest::testSessionWriteError function core/modules/system/tests/src/Functional/Session/SessionTest.php Test exception thrown during session write close.
SessionTestController class core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Controller providing page callbacks for session tests.
SessionTestController.php file core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php
SessionTestController::clearSessionBagFlag function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Clears the test flag from the session test bag.
SessionTestController::get function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Prints the stored session value to the screen.
SessionTestController::getFromSessionObject function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Prints the stored session value to the screen.
SessionTestController::getId function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Print the current session ID.
SessionTestController::getIdFromCookie function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Print the current session ID as read from the cookie.
SessionTestController::getSession function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Returns the values stored in the active session and the user ID.
SessionTestController::hasSessionBagFlag function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Prints a message if the flag in the session bag is set.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.