Search for session
- Search 7.x for session
- Search 9.5.x for session
- Search 10.3.x for session
- Search 11.x for session
- Search main for session
- Other projects
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| session | service | core/ |
Symfony\Component\HttpFoundation\Session\Session |
| Session | class | core/ |
Wrap session logic around a HTTP request. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| SessionConfiguration::getUnprefixedName | function | core/ |
Returns the session cookie name without the secure/insecure prefix. |
| SessionConfiguration::hasSession | function | core/ |
Determines whether a session identifier is on the request. |
| SessionConfiguration::__construct | function | core/ |
Constructs a new session configuration instance. |
| SessionConfigurationInterface | interface | core/ |
Defines an interface for session configuration generators. |
| SessionConfigurationInterface.php | file | core/ |
|
| SessionConfigurationInterface::getOptions | function | core/ |
Returns a list of options suitable for passing to the session storage. |
| SessionConfigurationInterface::hasSession | function | core/ |
Determines whether a session identifier is on the request. |
| SessionConfigurationTest | class | core/ |
@coversDefaultClass \Drupal\Core\Session\SessionConfiguration[[api-linebreak]] @group Session |
| SessionConfigurationTest.php | file | core/ |
|
| SessionConfigurationTest::createSessionConfiguration | function | core/ |
Constructs a partially mocked SUT. |
| SessionConfigurationTest::providerTestCookieSecure | function | core/ |
Data provider for the cookie secure test. |
| SessionConfigurationTest::providerTestEnforcedCookieDomain | function | core/ |
Data provider for the cookie domain test. |
| SessionConfigurationTest::providerTestEnforcedSessionName | function | core/ |
Data provider for the cookie name test. |
| SessionConfigurationTest::providerTestGeneratedCookieDomain | function | core/ |
Data provider for the cookie domain test. |
| SessionConfigurationTest::providerTestGeneratedSessionName | function | core/ |
Data provider for the cookie name test. |
| SessionConfigurationTest::testCookieSecure | function | core/ |
Tests whether the session.cookie_secure ini settings is computed correctly. |
| SessionConfigurationTest::testCookieSecureNotOverridable | function | core/ |
Tests that session.cookie_secure ini settings cannot be overridden. |
| SessionConfigurationTest::testEnforcedCookieDomain | function | core/ |
Tests the constructor injected session.cookie_domain ini setting. |
| SessionConfigurationTest::testEnforcedSessionNameViaCookieDomain | function | core/ |
Tests whether the session.name ini settings is computed correctly. |
| SessionConfigurationTest::testGeneratedCookieDomain | function | core/ |
Tests whether the session.cookie_domain ini settings is computed correctly. |
| SessionConfigurationTest::testGeneratedSessionName | function | core/ |
Tests whether the session.name ini settings is computed correctly. |
| SessionExistsCacheContext | class | core/ |
Defines the SessionExistsCacheContext service, for "session or not" caching. |
| SessionExistsCacheContext.php | file | core/ |
|
| SessionExistsCacheContext::$requestStack | property | core/ |
The request stack. |
| SessionExistsCacheContext::$sessionConfiguration | property | core/ |
The session configuration. |
| SessionExistsCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
| SessionExistsCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
| SessionExistsCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
| SessionExistsCacheContext::__construct | function | core/ |
Constructs a new SessionExistsCacheContext class. |
| SessionExistsCacheContextTest | class | core/ |
Tests the 'session.exists' cache context service. |
| SessionExistsCacheContextTest.php | file | core/ |
|
| SessionExistsCacheContextTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| SessionExistsCacheContextTest::$modules | property | core/ |
Modules to enable. |
| SessionExistsCacheContextTest::assertSessionCookieOnClient | function | core/ |
Asserts whether a session cookie is present on the client or not. |
| SessionExistsCacheContextTest::testCacheContext | function | core/ |
Tests \Drupal\Core\Cache\Context\SessionExistsCacheContext::getContext(). |
| SessionHandler | class | core/ |
Default session handler. |
| SessionHandler.php | file | core/ |
|
| SessionHandler::$connection | property | core/ |
The database connection. |
| SessionHandler::$requestStack | property | core/ |
The request stack. |
| SessionHandler::close | function | core/ |
|
| SessionHandler::destroy | function | core/ |
|
| SessionHandler::gc | function | core/ |
|
| SessionHandler::open | function | core/ |
|
| SessionHandler::read | function | core/ |
|
| SessionHandler::write | function | core/ |
|
| SessionHandler::__construct | function | core/ |
Constructs a new SessionHandler instance. |
| SessionHttpsTest | class | core/ |
Ensure that when running under HTTPS two session cookies are generated. |
| SessionHttpsTest.php | file | core/ |
|
| SessionHttpsTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| SessionHttpsTest::$insecureSessionName | property | core/ |
The name of the session cookie when using HTTP. |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.