public function read($sessionId)
    {
        $sessionId = $this->keyPrefix . $sessionId;
        $sessionData = $this->redis->get($sessionId);

        $this->redis->expire($sessionId, $this->maxLifetime);

        return $sessionData;
    }
public function read($sessionId)
    {
        $sessionId = $this->keyPrefix . $sessionId;
        $sessionData = $this->redis->get($sessionId);

        $this->redis->expire($sessionId, $this->maxLifetime);

        return $sessionData;
    }
public function read ( $ sessionId ) { $ sessionId = $ this -> keyPrefix . $ sessionId ; $ sessionData = $ this -> redis -> get ( $ sessionId ) ; $ this -> redis -> expire ( $ sessionId , $ this -> maxLifetime ) ; return $ sessionData ; }
Read the session data from Redis.

@param  string $sessionId The session id.
@return string            The serialized session data.
Read the session data from Redis .