Scenario:
User1 logged in to browser in tab 1 with his credentials
user2 logged in to same browser in another tab with his cresentials
now i logged out user2 and in the same tab i logged in as User3
now i refreshed the tab of User1 then it is showing the details of User3.
Requirement:
once i click logout or i logged as a different user in the same browser then entire application from all tabs should not work and prompt user to log in again.
Thank you in advance please help me.