I have a concurrent login checking (a flag) for my site, it works fine but if I do ctrl-N, i will be able to open two site without any problem. for eg, I login as user A and i’m in search page now. when i do ctrl-n, a new window will open and without login, I’m in the search page also.
How can I prevent that? How can I detect when user ctrl N and log them out automatically?