You are here

public function SessionProxy_Storage_Base::setSessionUid in Session Proxy 7

When session has been regenerated, inform the storage backend that further session writing will be done for a new user identenfier.

Parameters

int $uid:

Overrides SessionProxy_Storage_Interface::setSessionUid

2 calls to SessionProxy_Storage_Base::setSessionUid()
SessionProxy_Storage_Cache::destroy in lib/SessionProxy/Storage/Cache.php
SessionProxy_Storage_Database::destroy in lib/SessionProxy/Storage/Database.php

File

lib/SessionProxy/Storage/Base.php, line 71

Class

SessionProxy_Storage_Base

Code

public function setSessionUid($uid) {
  $this->uidHasChanged = $this->uid != $uid;
  $this->uid = $uid;
}