public function NativeSessionStorage::getId in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage::getId()
Returns the session ID.
Return value
string The session ID or empty.
Overrides SessionStorageInterface::getId
2 calls to NativeSessionStorage::getId()
- SessionManager::migrateStoredSession in core/
lib/ Drupal/ Core/ Session/ SessionManager.php - Migrates the current session to a new session id.
- SessionManager::regenerate in core/
lib/ Drupal/ Core/ Session/ SessionManager.php - Regenerates id that represents this storage.
File
- vendor/
symfony/ http-foundation/ Session/ Storage/ NativeSessionStorage.php, line 164
Class
- NativeSessionStorage
- This provides a base class for session attribute storage.
Namespace
Symfony\Component\HttpFoundation\Session\StorageCode
public function getId() {
return $this->saveHandler
->getId();
}