Monday 26 June 2017

Authentication status checking over websockets

Hello, I want to implement certain functionality in web app. For example, I have two opened browser tabs of my web app, if user logs out in one tab of browser, it should automatically log out in other tab. I thought to achieve this, we should implement some sort of "subscription" via websockets to check if user is logged in, and if user logs out, state change would affect every tab and would act accordingly.So my question is, does this make sense, to check status of authentication via websockets ?Thanks !

Submitted June 27, 2017 at 12:42AM by Polisas

No comments:

Post a Comment