You are here

public function NativeSessionStorage::setId in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage::setId()

Sets the session ID.

Parameters

string $id:

Overrides SessionStorageInterface::setId

1 call to NativeSessionStorage::setId()
SessionManager::start in core/lib/Drupal/Core/Session/SessionManager.php
Starts the session.

File

vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php, line 172

Class

NativeSessionStorage
This provides a base class for session attribute storage.

Namespace

Symfony\Component\HttpFoundation\Session\Storage

Code

public function setId($id) {
  $this->saveHandler
    ->setId($id);
}