Search for session

  1. Search 7.x for session
  2. Search 9.5.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
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::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::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.
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 enable.
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.
SessionHandler.php file core/lib/Drupal/Core/Session/SessionHandler.php
SessionHandler::$connection property core/lib/Drupal/Core/Session/SessionHandler.php The database connection.
SessionHandler::$requestStack property core/lib/Drupal/Core/Session/SessionHandler.php The request stack.
SessionHandler::close function core/lib/Drupal/Core/Session/SessionHandler.php
SessionHandler::destroy function core/lib/Drupal/Core/Session/SessionHandler.php
SessionHandler::gc function core/lib/Drupal/Core/Session/SessionHandler.php
SessionHandler::open function core/lib/Drupal/Core/Session/SessionHandler.php
SessionHandler::read function core/lib/Drupal/Core/Session/SessionHandler.php
SessionHandler::write function core/lib/Drupal/Core/Session/SessionHandler.php
SessionHandler::__construct function core/lib/Drupal/Core/Session/SessionHandler.php Constructs a new SessionHandler instance.
SessionHttpsTest class core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Ensure that when running under HTTPS two session cookies are generated.
SessionHttpsTest.php file core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php
SessionHttpsTest::$defaultTheme property core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php The theme to install as the default for testing.
SessionHttpsTest::$insecureSessionName property core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php The name of the session cookie when using HTTP.

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