My project has single-sign-on to multiple apps and once signed on, people may be clicking bookmarks or links in notification emails to open tabs to our various and sundry applications. HOWEVER, when they sign out, this means all that stuff is open, even though the session it connects to on the server is dead.
Analysis has requested that we be able to close all browser tabs going to our app when the user hits logout. I have told them that I don't think we can, but was sufficiently unsure that I am being asked to research it. After all, people do some bonkers stuff in javascript nowadays.
So my questions are, in Chrome, Edge, and IE 11, and without adding extensions, can we:
- Detect what windows are open to our domain?
- Close said windows forcibly?
I of course know that I could collect window handles for each window opened from our portal page, but as indicated above, I can't depend on all of them having been opened by my portal.