I need to get a unique identifier for a browser, such that when I log a user out, it logs them out across all tabs of that browser. The closest I've found is the following:
window.navigator.userAgent;
However, this value appears to be the same if you open up a new incognito window. However, if you are logged in to a website (for example, on StackOverflow), and you log out of one tab, it won't log you out of the incognito tab. Is there a way to get a unique session identifier for each "browser session" ? Basically, "This current tab and all other tabs within my browser that I'll be logged out of when I click the logout link".