Topic: sessionstorage how to store a flag at browser closing?
Good afternoon, there is a simple task - the algorithm = is necessary there is a browser, there is a tab, in it open a site - at login in sessionstorage - we put ID - in js is checked that it is is guarantees that the person works with a site only through 1 tab... If it opened the second - in it sessionstorage will not be ID - and js a site and operation in the second the contribution is impossible.... All perfectly works... But if to close the browser - or the tab sessionstorage - it is dropped, but session server is not closed... And how then to be? What algorithm to invent to define that is opened to one tab?
Example which shows that counters different: