You are here

protected function SessionProxy_Backend_Default::getSessionUid in Session Proxy 7

Get the actual logged in user user identifier if any.

Return value

int Valid user identifier or NULL.

Overrides SessionProxy_Backend_Base::getSessionUid

File

lib/SessionProxy/Backend/Default.php, line 36

Class

SessionProxy_Backend_Default
Default implementation relies on a custom storage engine.

Code

protected function getSessionUid() {
  return $this->storage
    ->getSessionUid();
}