SessionConfigurationInterface::getOptions

public SessionConfigurationInterface::getOptions(Request $request) Returns a list of options suitable for passing to the session storage. Parameters \Symfony\Component\HttpFoundation\Request $request: The request. Return value array An associative array of session ini settings. See also \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage::__construct() File core/lib/Drupal/Core/Session/SessionConfigurationInterface.php, line 39 Class SessionConfigurationInterface Defi

SessionConfiguration::__construct

public SessionConfiguration::__construct($options = []) Constructs a new session configuration instance. Parameters array $options: An associative array of session ini settings. See also \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage::__construct() http://php.net/manual/session.configuration.php File core/lib/Drupal/Core/Session/SessionConfiguration.php, line 26 Class SessionConfiguration Defines the default session configuration generator. Namespace Drupal\Cor

SessionConfigurationInterface

Defines an interface for session configuration generators. Hierarchy interface \Drupal\Core\Session\SessionConfigurationInterface File core/lib/Drupal/Core/Session/SessionConfigurationInterface.php, line 10 Namespace Drupal\Core\Session Members Name Modifiers Type Description SessionConfigurationInterface::getOptions public function Returns a list of options suitable for passing to the session storage. SessionConfigurationInterface::hasSession public function Det

SessionConfiguration::getUnprefixedName

protected SessionConfiguration::getUnprefixedName(Request $request) Returns the session cookie name without the secure/insecure prefix. @returns string The session name without the prefix (SESS/SSESS). Parameters \Symfony\Component\HttpFoundation\Request $request: The request. File core/lib/Drupal/Core/Session/SessionConfiguration.php, line 85 Class SessionConfiguration Defines the default session configuration generator. Namespace Drupal\Core\Session Code protected function getUnpref

SessionConfiguration::getName

protected SessionConfiguration::getName(Request $request) Returns the session cookie name. Parameters \Symfony\Component\HttpFoundation\Request $request: The request. Return value string The name of the session cookie. File core/lib/Drupal/Core/Session/SessionConfiguration.php, line 65 Class SessionConfiguration Defines the default session configuration generator. Namespace Drupal\Core\Session Code protected function getName(Request $request) { // To prevent session cookies from be

SessionConfiguration::getCookieDomain

protected SessionConfiguration::getCookieDomain(Request $request) Return the session cookie domain. The Set-Cookie response header and its domain attribute are defined in RFC 2109, RFC 2965 and RFC 6265 each one superseeding the previous version. @returns string The session cookie domain. Parameters \Symfony\Component\HttpFoundation\Request $request: The request. See also http://tools.ietf.org/html/rfc2109 http://tools.ietf.org/html/rfc2965 http://tools.ietf.org/html/rfc6265 File core/lib/Dru

SessionConfiguration::getOptions

public SessionConfiguration::getOptions(Request $request) Returns a list of options suitable for passing to the session storage. Parameters \Symfony\Component\HttpFoundation\Request $request: The request. Return value array An associative array of session ini settings. Overrides SessionConfigurationInterface::getOptions See also \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage::__construct() File core/lib/Drupal/Core/Session/SessionConfiguration.php, line 40 Class S

SessionConfiguration::hasSession

public SessionConfiguration::hasSession(Request $request) Determines whether a session identifier is on the request. This method detects whether a session was started during one of the previous requests from the same user agent. Session identifiers are normally passed along using cookies and hence a typical implementation checks whether the session cookie is on the request. Parameters \Symfony\Component\HttpFoundation\Request $request: The request. Return value bool TRUE if there is a session

SessionConfiguration::$options

An associative array of session ini settings. File core/lib/Drupal/Core/Session/SessionConfiguration.php, line 15 Class SessionConfiguration Defines the default session configuration generator. Namespace Drupal\Core\Session Code protected $options;

SessionConfiguration

Defines the default session configuration generator. Hierarchy class \Drupal\Core\Session\SessionConfiguration implements SessionConfigurationInterface 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_tes