Hi Alekhya,

If you have a backend you could use a reactive approach. The idea would be 
to subscribe to an observable that gives you for instance the current user 
(from the backend).
When you sign out the backend would notify the observer, in each tab, for 
instance with a null value. I am using Firebase for the authentication and 
it provides such an observer out of the box.
Someone more experimented than I am may give you the good direction to 
implement the communication between the backend and the frontend via an 
observable, but I would look toward the websockets :
https://blog.codewithdan.com/pushing-real-time-data-to-an-angular-service-using-web-sockets/

Regards,
Arnaud.

Le mercredi 5 décembre 2018 14:49:32 UTC+1, Alekhya Pulavarthi a écrit :
>
> Hi 
>
> Session management for Angular2 App
>
> Currently when I do logout in my application I am redirecting some logout 
> url but if the user has opened multiple tabs if he logged out in one tab 
> and move to other tabs if he does any event other tabs should automatically 
> logged out how to achieve this please suggest
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to