Drupal 8  8.0.2
SessionHandler Class Reference
Inheritance diagram for SessionHandler:

Public Member Functions

 __construct (RequestStack $request_stack, Connection $connection)
 
 open ($save_path, $name)
 
 read ($sid)
 
 write ($sid, $value)
 
 close ()
 
 destroy ($sid)
 
 gc ($lifetime)
 

Protected Attributes

 $requestStack
 
 $connection
 

Detailed Description

Default session handler.

Constructor & Destructor Documentation

__construct ( RequestStack  $request_stack,
Connection  $connection 
)

Constructs a new SessionHandler instance.

Parameters
\Symfony\Component\HttpFoundation\RequestStack$request_stackThe request stack.
\Drupal\Core\Database\Connection$connectionThe database connection.

References Drupal\requestStack().

Here is the call graph for this function:

Member Function Documentation

close ( )

{}

destroy (   $sid)

{}

References Crypt\hashBase64().

Here is the call graph for this function:

gc (   $lifetime)

{}

open (   $save_path,
  $name 
)

{}

read (   $sid)

{}

References Crypt\hashBase64().

Here is the call graph for this function:

write (   $sid,
  $value 
)

{}

References Crypt\hashBase64(), Error\renderExceptionSafe(), and Drupal\requestStack().

Here is the call graph for this function:


The documentation for this class was generated from the following file: