Force page refresh on app release

I’d like a way to automatically prompt or force all logged-in users to refresh the app when a new version is deployed. Many users leave the app open in their browser for extended periods, which leads to them unknowingly using outdated versions that may contain bugs or outdated logic. This can cause incorrect behavior or operations, so a mechanism to ensure they’re always using the latest version would be extremly helpful.