roundcubemail/program/lib/Roundcube/rcube_session.php
public function regenerate_id($destroy=true)
    {
        session_regenerate_id($destroy);

        $this->vars = null;
        $this->key  = session_id();

        return true;
    }
public function regenerate_id($destroy=true)
    {
        session_regenerate_id($destroy);

        $this->vars = null;
        $this->key  = session_id();

        return true;
    }
public function regenerate_id ( $ destroy = true ) { session_regenerate_id ( $ destroy ) ; $ this -> vars = null ; $ this -> key = session_id ( ) ; return true ; }
Generate and set new session id

@param boolean $destroy If enabled the current session will be destroyed
@return bool
Generate and set new session id