protected function SessionProxy_Storage_Base::sessionDataSetHash in Session Proxy 7
Call this function at read time, it will allow you to check if the session has changed or not and write it accordingly.
Parameters
string $sessionId:
string $serializedData:
2 calls to SessionProxy_Storage_Base::sessionDataSetHash()
- SessionProxy_Storage_Cache::read in lib/
SessionProxy/ Storage/ Cache.php - SessionProxy_Storage_Database::read in lib/
SessionProxy/ Storage/ Database.php
File
- lib/
SessionProxy/ Storage/ Base.php, line 51
Class
Code
protected function sessionDataSetHash($sessionId, $serializedData) {
$this->lastReadSessionId = $sessionId;
$this->lastReadValueHash = md5($serializedData);
}