3 ms·
One solution is to store the token in localStorage, which supports events. You can listen for localStorage changes in all your tabs. When it changes, force a p
by smashed 10y ago
One solution is to store the token in localStorage, which supports events.
You can listen for localStorage changes in all your tabs. When it changes, force a page reload or similar.
Edit: typos
- lfrodrigues 10y agoI think you didn't understand the issue. Imagine you want to implement a "logout from all my sessions" like Facebook or Google have (sessions in different devices)