class SessionConfiguration

Defines the default session configuration generator.

Hierarchy

File

core/lib/Drupal/Core/Session/SessionConfiguration.php, line 10

Namespace

Drupal\Core\Session

Members

Name Modifiers Type Description
SessionConfiguration::$options protected property An associative array of session ini settings.
SessionConfiguration::drupalValidTestUa protected function Wraps drupal_valid_test_ua().
SessionConfiguration::getCookieDomain protected function Return the session cookie domain.
SessionConfiguration::getName protected function Returns the session cookie name.
SessionConfiguration::getOptions public function Returns a list of options suitable for passing to the session storage. Overrides SessionConfigurationInterface::getOptions
SessionConfiguration::getUnprefixedName protected function Returns the session cookie name without the secure/insecure prefix.
SessionConfiguration::hasSession public function Determines whether a session identifier is on the request. Overrides SessionConfigurationInterface::hasSession
SessionConfiguration::__construct public function Constructs a new session configuration instance.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Session!SessionConfiguration.php/class/SessionConfiguration/8.1.x