I haven’t found any useful information searching around, and I suspect that what I want to do is not possible, so this is somewhat of a last resort.
The issue that I’m having deals with multiple browser windows being opened and sharing session information, which is causing some issues in our system with session data being corrupted. I realize that there are ways to handle this in the session/querystring, but that is not an easy fix due to the complexity of our application and the many entry points. Besides that, we’re in the process of refactoring and migrating our system (a process that will take years) so once the new system is complete this will no longer be a problem. For now though, I need a simple fix if at all possible.
So, the question is is there a way to detect, via JavaScript, if another instance of a browser window is already opened and browsing a particular domain WITHOUT having used window.open?
For example, if a user is browsing our site and has a valid session established, then they open another browser window/tab (same browser) and use the same session, can I use JavaScript to detect that and disallow it (via redirect to error page, or whatever)?
Just to hammer the point home, let’s say the user is at the following URL:
[url]http://www.site.com/page.htm?value=12345&info=369-425-6666
The user then copies that URL and launches a new browser window and copies/pastes that URL, which results in 2 instances of the same session.
Can I somehow detect that? Thanks in advance.