public function fork($destroy = true, $lifetime = null)
    {
        if ($this->isActive())
        {
            if ($lifetime !== null) {
                ini_set('session.cookie_lifetime', $lifetime);
            }

            if (!session_regenerate_id($destroy)) {
                throw new RuntimeException('Session could not be forked');
            }
        }

        return $this;
    }