Search for session

  1. Search 7.x for session
  2. Search 9.5.x for session
  3. Search 8.9.x for session
  4. Search 11.x for session
  5. Search main for session
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
session service core/core.services.yml Symfony\Component\HttpFoundation\Session\Session
Session class core/lib/Drupal/Core/StackMiddleware/Session.php Wrap session logic around a HTTP request.

All search results

Title Object type File name Summary
TestSessionBag::$storageKey property core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php Key used when persisting the session.
TestSessionBag::BAG_NAME constant core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php The bag name.
TestSessionBag::clear function core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php
TestSessionBag::clearFlag function core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php Clears the test flag.
TestSessionBag::getName function core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php
TestSessionBag::getStorageKey function core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php
TestSessionBag::hasFlag function core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php Returns TRUE if the test flag is set.
TestSessionBag::initialize function core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php
TestSessionBag::setFlag function core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php Sets the test flag.
TestSessionBag::__construct function core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php Constructs a new TestSessionBag object.
TestSessionHandlerProxy class core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php Provides a test session handler proxy.
TestSessionHandlerProxy.php file core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php
TestSessionHandlerProxy::$optionalArgument property core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php An optional argument.
TestSessionHandlerProxy::$sessionHandler property core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php The decorated session handler.
TestSessionHandlerProxy::close function core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php #[\ReturnTypeWillChange]
TestSessionHandlerProxy::destroy function core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php #[\ReturnTypeWillChange]
TestSessionHandlerProxy::gc function core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php #[\ReturnTypeWillChange]
TestSessionHandlerProxy::open function core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php #[\ReturnTypeWillChange]
TestSessionHandlerProxy::read function core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php #[\ReturnTypeWillChange]
TestSessionHandlerProxy::write function core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php #[\ReturnTypeWillChange]
TestSessionHandlerProxy::__construct function core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php Constructs a new TestSessionHandlerProxy object.
UiHelperTrait::assertSession function core/tests/Drupal/Tests/UiHelperTrait.php Returns WebAssert object.
UiHelperTrait::drupalResetSession function core/tests/Drupal/Tests/UiHelperTrait.php Resets the current active session back to Anonymous session.
UpdateKernel::bootSession function core/lib/Drupal/Core/Update/UpdateKernel.php Boots up the session.
UpdateKernel::shutdownSession function core/lib/Drupal/Core/Update/UpdateKernel.php Ensures that the session is saved.
UserSession class core/lib/Drupal/Core/Session/UserSession.php An implementation of the user account interface for the global user.
UserSession.php file core/lib/Drupal/Core/Session/UserSession.php
UserSession::$access property core/lib/Drupal/Core/Session/UserSession.php The Unix timestamp when the user last accessed the site.
UserSession::$mail property core/lib/Drupal/Core/Session/UserSession.php The email address of this account.
UserSession::$name property core/lib/Drupal/Core/Session/UserSession.php The name of this account.
UserSession::$preferred_admin_langcode property core/lib/Drupal/Core/Session/UserSession.php The preferred administrative language code of the account.
UserSession::$preferred_langcode property core/lib/Drupal/Core/Session/UserSession.php The preferred language code of the account.
UserSession::$roles property core/lib/Drupal/Core/Session/UserSession.php List of the roles this user has.
UserSession::$timezone property core/lib/Drupal/Core/Session/UserSession.php The timezone of this account.
UserSession::$uid property core/lib/Drupal/Core/Session/UserSession.php User ID.
UserSession::getAccountName function core/lib/Drupal/Core/Session/UserSession.php Returns the unaltered login name of this account.
UserSession::getDisplayName function core/lib/Drupal/Core/Session/UserSession.php Returns the display name of this account.
UserSession::getEmail function core/lib/Drupal/Core/Session/UserSession.php Returns the email address of this account.
UserSession::getLastAccessedTime function core/lib/Drupal/Core/Session/UserSession.php The timestamp when the account last accessed the site.
UserSession::getPreferredAdminLangcode function core/lib/Drupal/Core/Session/UserSession.php Returns the preferred administrative language code of the account.
UserSession::getPreferredLangcode function core/lib/Drupal/Core/Session/UserSession.php Returns the preferred language code of the account.
UserSession::getRoles function core/lib/Drupal/Core/Session/UserSession.php Returns a list of roles.
UserSession::getRoleStorage function core/lib/Drupal/Core/Session/UserSession.php Returns the role storage object.
UserSession::getTimeZone function core/lib/Drupal/Core/Session/UserSession.php Returns the timezone of this account.
UserSession::hasPermission function core/lib/Drupal/Core/Session/UserSession.php Checks whether a user has a certain permission.
UserSession::hasRole function core/lib/Drupal/Core/Session/UserSession.php Whether a user has a certain role.
UserSession::id function core/lib/Drupal/Core/Session/UserSession.php Returns the user ID or 0 for anonymous.
UserSession::isAnonymous function core/lib/Drupal/Core/Session/UserSession.php Returns TRUE if the account is anonymous.
UserSession::isAuthenticated function core/lib/Drupal/Core/Session/UserSession.php Returns TRUE if the account is authenticated.
UserSession::__construct function core/lib/Drupal/Core/Session/UserSession.php Constructs a new user session.

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