Search for session

  1. Search 7.x for session
  2. Search 8.9.x for session
  3. Search 10.3.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
NegotiationSessionForm::buildForm function core/modules/language/src/Form/NegotiationSessionForm.php Form constructor.
NegotiationSessionForm::getEditableConfigNames function core/modules/language/src/Form/NegotiationSessionForm.php Gets the configuration names that will be editable.
NegotiationSessionForm::getFormId function core/modules/language/src/Form/NegotiationSessionForm.php Returns a unique string identifying the form.
NegotiationSessionForm::submitForm function core/modules/language/src/Form/NegotiationSessionForm.php Form submission handler.
NoSessionOpen class core/lib/Drupal/Core/PageCache/RequestPolicy/NoSessionOpen.php A policy allowing delivery of cached pages when there is no session open.
NoSessionOpen.php file core/lib/Drupal/Core/PageCache/RequestPolicy/NoSessionOpen.php
NoSessionOpen::$sessionConfiguration property core/lib/Drupal/Core/PageCache/RequestPolicy/NoSessionOpen.php The session configuration.
NoSessionOpen::check function core/lib/Drupal/Core/PageCache/RequestPolicy/NoSessionOpen.php Determines whether delivery of a cached page should be attempted.
NoSessionOpen::__construct function core/lib/Drupal/Core/PageCache/RequestPolicy/NoSessionOpen.php Constructs a new page cache session policy.
NoSessionOpenTest class core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php @coversDefaultClass \Drupal\Core\PageCache\RequestPolicy\NoSessionOpen[[api-linebreak]]
@group PageCache
NoSessionOpenTest.php file core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php
NoSessionOpenTest::$policy property core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php The request policy under test.
NoSessionOpenTest::$sessionConfiguration property core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php The session configuration.
NoSessionOpenTest::setUp function core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php
NoSessionOpenTest::testNoAllowUnlessSessionCookiePresent function core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php Asserts that caching is allowed unless there is a session cookie present.
PrivateTempStore::startSession function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Start session because it is required for a private temp store.
ReplicaKillSwitch::$session property core/lib/Drupal/Core/Database/ReplicaKillSwitch.php The session.
Session class core/lib/Drupal/Core/StackMiddleware/Session.php Wrap session logic around a HTTP request.
session service core/core.services.yml Symfony\Component\HttpFoundation\Session\Session
session.attribute_bag service core/core.services.yml Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag
session.flash_bag service core/core.services.yml Symfony\Component\HttpFoundation\Session\Flash\FlashBag
Session.php file core/lib/Drupal/Core/StackMiddleware/Session.php
Session::$httpKernel property core/lib/Drupal/Core/StackMiddleware/Session.php The wrapped HTTP kernel.
Session::$sessionServiceName property core/lib/Drupal/Core/StackMiddleware/Session.php The session service name.
Session::handle function core/lib/Drupal/Core/StackMiddleware/Session.php
Session::__construct function core/lib/Drupal/Core/StackMiddleware/Session.php Constructs a Session stack middleware object.
SessionAuthenticationTest class core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php Tests if sessions are correctly handled when a user authenticates.
SessionAuthenticationTest.php file core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php
SessionAuthenticationTest::$defaultTheme property core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php The theme to install as the default for testing.
SessionAuthenticationTest::$modules property core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php Modules to enable.
SessionAuthenticationTest::$user property core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php A test user.
SessionAuthenticationTest::assertSessionData function core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php Checks the session data returned by the session test routes.
SessionAuthenticationTest::setUp function core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php
SessionAuthenticationTest::testBasicAuthNoSession function core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php Tests that a session is not started automatically by basic authentication.
SessionAuthenticationTest::testBasicAuthSession function core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php Tests if a session can be initiated through basic authentication.
SessionAuthenticationTest::testSessionFromBasicAuthenticationDoesNotLeak function core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php Check that a basic authentication session does not leak.
SessionCacheContext class core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php Defines the SessionCacheContext service, for "per session" caching.
SessionCacheContext.php file core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php
SessionCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php
SessionCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php
SessionCacheContextTest class core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php @coversDefaultClass \Drupal\Core\Cache\Context\SessionCacheContext[[api-linebreak]]
@group Cache
SessionCacheContextTest.php file core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php
SessionCacheContextTest::$request property core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php The request.
SessionCacheContextTest::$requestStack property core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php The request stack.
SessionCacheContextTest::$session property core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php The session object.
SessionCacheContextTest::setUp function core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php
SessionCacheContextTest::testContextWithoutSessionInRequest function core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php @covers ::getContext[[api-linebreak]]
SessionCacheContextTest::testDifferentContextForDifferentSession function core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php @covers ::getContext[[api-linebreak]]
SessionCacheContextTest::testSameContextForSameSession function core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php @covers ::getContext[[api-linebreak]]
SessionConfiguration class core/lib/Drupal/Core/Session/SessionConfiguration.php Defines the default session configuration generator.

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