Neos\Flow\Session\TransientSession::renewId PHP Method

renewId() public method

Generates and propagates a new session ID and transfers all existing data to the new session.
public renewId ( ) : string
return string The new session ID
    public function renewId()
    {
        $this->sessionId = uniqid();
        return $this->sessionId;
    }