public function regenerate($bDestroy = false)
    {
        if (empty($this->oSession)) {
            return $this;
        }

        $this->oSession->sess_regenerate($bDestroy);
        return $this;
    }
public function regenerate($bDestroy = false)
    {
        if (empty($this->oSession)) {
            return $this;
        }

        $this->oSession->sess_regenerate($bDestroy);
        return $this;
    }
public function regenerate ( $ bDestroy = false ) { if ( empty ( $ this -> oSession ) ) { return $ this ; } $ this -> oSession -> sess_regenerate ( $ bDestroy ) ; return $ this ; }
Regenerate the user's session

@param bool $bDestroy Whether to destroy the old session
Regenerate the user s session