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
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::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.
SessionConfiguration.php file core/lib/Drupal/Core/Session/SessionConfiguration.php
SessionConfiguration::$options property core/lib/Drupal/Core/Session/SessionConfiguration.php An associative array of session ini settings.
SessionConfiguration::drupalValidTestUa function core/lib/Drupal/Core/Session/SessionConfiguration.php Wraps drupal_valid_test_ua().
SessionConfiguration::getCookieDomain function core/lib/Drupal/Core/Session/SessionConfiguration.php Return the session cookie domain.
SessionConfiguration::getName function core/lib/Drupal/Core/Session/SessionConfiguration.php Returns the session cookie name.
SessionConfiguration::getOptions function core/lib/Drupal/Core/Session/SessionConfiguration.php Returns a list of options suitable for passing to the session storage.
SessionConfiguration::getUnprefixedName function core/lib/Drupal/Core/Session/SessionConfiguration.php Returns the session cookie name without the secure/insecure prefix.
SessionConfiguration::hasSession function core/lib/Drupal/Core/Session/SessionConfiguration.php Determines whether a session identifier is on the request.
SessionConfiguration::__construct function core/lib/Drupal/Core/Session/SessionConfiguration.php Constructs a new session configuration instance.
SessionConfigurationInterface interface core/lib/Drupal/Core/Session/SessionConfigurationInterface.php Defines an interface for session configuration generators.
SessionConfigurationInterface.php file core/lib/Drupal/Core/Session/SessionConfigurationInterface.php
SessionConfigurationInterface::getOptions function core/lib/Drupal/Core/Session/SessionConfigurationInterface.php Returns a list of options suitable for passing to the session storage.
SessionConfigurationInterface::hasSession function core/lib/Drupal/Core/Session/SessionConfigurationInterface.php Determines whether a session identifier is on the request.
SessionConfigurationTest class core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php @coversDefaultClass \Drupal\Core\Session\SessionConfiguration[[api-linebreak]]
@group Session
SessionConfigurationTest.php file core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php
SessionConfigurationTest::createSessionConfiguration function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Constructs a partially mocked SUT.
SessionConfigurationTest::providerTestConstructorDefaultSettings function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Data provider for the constructor test.
SessionConfigurationTest::providerTestCookieSecure function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Data provider for the cookie secure test.
SessionConfigurationTest::providerTestEnforcedCookieDomain function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Data provider for the cookie domain test.
SessionConfigurationTest::providerTestEnforcedSessionName function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Data provider for the cookie name test.
SessionConfigurationTest::providerTestGeneratedCookieDomain function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Data provider for the cookie domain test.
SessionConfigurationTest::providerTestGeneratedSessionName function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Data provider for the cookie name test.
SessionConfigurationTest::testConstructorDefaultSettings function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Tests constructor's default settings.
SessionConfigurationTest::testCookieSecure function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Tests whether the session.cookie_secure ini settings is computed correctly.
SessionConfigurationTest::testCookieSecureNotOverridable function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Tests that session.cookie_secure ini settings cannot be overridden.
SessionConfigurationTest::testEnforcedCookieDomain function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Tests the constructor injected session.cookie_domain ini setting.
SessionConfigurationTest::testEnforcedSessionNameViaCookieDomain function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Tests whether the session.name ini settings is computed correctly.
SessionConfigurationTest::testGeneratedCookieDomain function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Tests whether the session.cookie_domain ini settings is computed correctly.
SessionConfigurationTest::testGeneratedSessionName function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Tests whether the session.name ini settings is computed correctly.
SessionConfigurationTest::testSameSiteCookie function core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php Test that session.cookie_samesite is configured correctly.
SessionExistsCacheContext class core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php Defines the SessionExistsCacheContext service, for "session or not" caching.
SessionExistsCacheContext.php file core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php
SessionExistsCacheContext::$requestStack property core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php The request stack.
SessionExistsCacheContext::$sessionConfiguration property core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php The session configuration.
SessionExistsCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php Gets the cacheability metadata for the context.
SessionExistsCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php Returns the string representation of the cache context.
SessionExistsCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php Returns the label of the cache context.
SessionExistsCacheContext::__construct function core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php Constructs a new SessionExistsCacheContext class.
SessionExistsCacheContextTest class core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php Tests the 'session.exists' cache context service.
SessionExistsCacheContextTest.php file core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php
SessionExistsCacheContextTest::$defaultTheme property core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php The theme to install as the default for testing.
SessionExistsCacheContextTest::$modules property core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php Modules to install.
SessionExistsCacheContextTest::assertSessionCookieOnClient function core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php Asserts whether a session cookie is present on the client or not.
SessionExistsCacheContextTest::testCacheContext function core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php Tests \Drupal\Core\Cache\Context\SessionExistsCacheContext::getContext().
SessionHandler class core/lib/Drupal/Core/Session/SessionHandler.php Default session handler.

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