How to detect a new browser tab

How to detect a new browser tab

Hello everyone,

I have a problem that I don't know how to solve.
In a nutshell I need to know when the user opened a new tab. I looked around and I can't find an answer to it.
Most of the browsers keep the same session id for the new tab, which in turn makes my application not happy.

Any help will be much appreciated.

Regards,
    Damian