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
SessionTestSubscriber.php file core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php
SessionTestSubscriber::$emptySession property core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php Stores whether the session is empty at the beginning of the request.
SessionTestSubscriber::getSubscribedEvents function core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php Registers the methods in this class that should be listeners.
SessionTestSubscriber::onKernelRequestSessionTest function core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php Set header for session testing.
SessionTestSubscriber::onKernelResponseSessionTest function core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php Performs tasks for session_test module on kernel.response.
SessionTestTrait trait core/tests/Drupal/Tests/SessionTestTrait.php Provides methods to generate and get session name in tests.
SessionTestTrait.php file core/tests/Drupal/Tests/SessionTestTrait.php
SessionTestTrait::$sessionName property core/tests/Drupal/Tests/SessionTestTrait.php The name of the session cookie.
SessionTestTrait::generateSessionName function core/tests/Drupal/Tests/SessionTestTrait.php Generates a session cookie name.
SessionTestTrait::getSessionName function core/tests/Drupal/Tests/SessionTestTrait.php Returns the session name in use on the child site.
SessionWorkspaceNegotiator class core/modules/workspaces/src/Negotiator/SessionWorkspaceNegotiator.php Defines the session workspace negotiator.
SessionWorkspaceNegotiator.php file core/modules/workspaces/src/Negotiator/SessionWorkspaceNegotiator.php
SessionWorkspaceNegotiator::applies function core/modules/workspaces/src/Negotiator/SessionWorkspaceNegotiator.php Checks whether the negotiator applies to the current request or not.
SessionWorkspaceNegotiator::getActiveWorkspace function core/modules/workspaces/src/Negotiator/SessionWorkspaceNegotiator.php
SessionWorkspaceNegotiator::getActiveWorkspaceId function core/modules/workspaces/src/Negotiator/SessionWorkspaceNegotiator.php Performs workspace negotiation.
SessionWorkspaceNegotiator::setActiveWorkspace function core/modules/workspaces/src/Negotiator/SessionWorkspaceNegotiator.php Notifies the negotiator that the workspace ID returned has been accepted.
SessionWorkspaceNegotiator::unsetActiveWorkspace function core/modules/workspaces/src/Negotiator/SessionWorkspaceNegotiator.php Unsets the negotiated workspace.
SessionWorkspaceNegotiator::__construct function core/modules/workspaces/src/Negotiator/SessionWorkspaceNegotiator.php
session_configuration service core/core.services.yml Drupal\Core\Session\SessionConfiguration
session_exists_cache_context_test.info.yml file core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.info.yml core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.info.yml
session_exists_cache_context_test.module file core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.module Test module.
session_exists_cache_context_test_page_top function core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.module Implements hook_page_top().
session_handler service core/core.services.yml Alias of session_handler.storage
session_handler.storage service core/core.services.yml Drupal\Core\Session\SessionHandler
session_handler.write_safe service core/core.services.yml Drupal\Core\Session\WriteSafeSessionHandler
session_manager service core/core.services.yml Drupal\Core\Session\SessionManager
session_manager.metadata_bag service core/core.services.yml Drupal\Core\Session\MetadataBag
session_test.info.yml file core/modules/system/tests/modules/session_test/session_test.info.yml core/modules/system/tests/modules/session_test/session_test.info.yml
session_test.module file core/modules/system/tests/modules/session_test/session_test.module Test module.
session_test.routing.yml file core/modules/system/tests/modules/session_test/session_test.routing.yml core/modules/system/tests/modules/session_test/session_test.routing.yml
session_test.services.yml file core/modules/system/tests/modules/session_test/session_test.services.yml core/modules/system/tests/modules/session_test/session_test.services.yml
session_test.session_bag service core/modules/system/tests/modules/session_test/session_test.services.yml Drupal\session_test\Session\TestSessionBag
session_test.session_handler.test_proxy service core/modules/system/tests/modules/session_test/session_test.services.yml Drupal\session_test\Session\TestSessionHandlerProxy
session_test.session_handler.test_proxy2 service core/modules/system/tests/modules/session_test/session_test.services.yml Drupal\session_test\Session\TestSessionHandlerProxy
session_test.session_handler_proxy_trace service core/modules/system/tests/modules/session_test/session_test.services.yml ArrayObject
session_test.subscriber service core/modules/system/tests/modules/session_test/session_test.services.yml Drupal\session_test\EventSubscriber\SessionTestSubscriber
session_test_user_login function core/modules/system/tests/modules/session_test/session_test.module Implements hook_user_login().
SharedTempStore::ensureAnonymousSession function core/lib/Drupal/Core/TempStore/SharedTempStore.php Stores the owner in the session if the user is anonymous.
StackedSessionHandlerPass class core/lib/Drupal/Core/DependencyInjection/Compiler/StackedSessionHandlerPass.php Provides a compiler pass for stacked session save handlers.
StackedSessionHandlerPass.php file core/lib/Drupal/Core/DependencyInjection/Compiler/StackedSessionHandlerPass.php
StackedSessionHandlerPass::process function core/lib/Drupal/Core/DependencyInjection/Compiler/StackedSessionHandlerPass.php
StackSessionHandlerIntegrationTest class core/modules/system/tests/src/Functional/Session/StackSessionHandlerIntegrationTest.php Tests the stacked session handler functionality.
StackSessionHandlerIntegrationTest.php file core/modules/system/tests/src/Functional/Session/StackSessionHandlerIntegrationTest.php
StackSessionHandlerIntegrationTest::$defaultTheme property core/modules/system/tests/src/Functional/Session/StackSessionHandlerIntegrationTest.php The theme to install as the default for testing.
StackSessionHandlerIntegrationTest::$modules property core/modules/system/tests/src/Functional/Session/StackSessionHandlerIntegrationTest.php Modules to install.
StackSessionHandlerIntegrationTest::testRequest function core/modules/system/tests/src/Functional/Session/StackSessionHandlerIntegrationTest.php Tests a request.
TestControllers::testSession function core/modules/system/tests/modules/menu_test/src/TestControllers.php Prints out test data.
TestSessionBag class core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php Test session container.
TestSessionBag.php file core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php
TestSessionBag::$attributes property core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php Storage for data to save.

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