I'm working with Angular 4 project. I've the following scenario:
Once I'm logged-in using one user and I open up another tab and log-in using other user, the local storage authorization(Cookie) of previously logged-in user gets overridden with the that of newly logged-in user's. And hence I get unwanted behavior which kinda breaks the app functionality.
How to manage it? Do I need to make corrections from server-side or from Angular? It's a bit subjective question but I'd really appreciate some example reference or a practical implementation for the same.