public function setSid($sessionId)
    {
        if (strcmp($sessionId, $this->sid) !== 0) {
            $this->sid = $sessionId;
            $this->parameters['sid'] = $this->sid;
            $this->upToDate = false;
        }
    }
public function setSid($sessionId)
    {
        if (strcmp($sessionId, $this->sid) !== 0) {
            $this->sid = $sessionId;
            $this->parameters['sid'] = $this->sid;
            $this->upToDate = false;
        }
    }
public function setSid ( $ sessionId ) { if ( strcmp ( $ sessionId , $ this -> sid ) !== 0 ) { $ this -> sid = $ sessionId ; $ this -> parameters [ 'sid' ] = $ this -> sid ; $ this -> upToDate = false ; } }
Set the session id for personalization.

@param string $sessionId session id
Set the session id for personalization .