@cmallonee, this also happens without a gateway restart. I just observed it happen on Designer reconnect after being offline for a while due to VPN disconnection. session.device.type showed designer (correct) until the Designer reconnected to gateway, and then switched to browser (incorrect). Gateway hasn't been restarted for a month:
Designer was online yesterday. This doesn't seem to happen on all brief connection losses, but does happen enough to be annoying--especially when working with multiple Designers open that all need a restart to correct this.
Also seeing this issue. It's helpful for preventing pushing session-based info. For example, I want a view defaulted to some values, but it keeps using my browser session information. If we can reliably check if it's the designer, we can keep those default values in place. Hopefully this can be fixed in the next ignition version.