How to use Javascript to detect if your site is being used in multiple tabs. In this case I disabled the site from being used in more than one tab. Note that I slightly modified the setCookie function.
Gist: https://gist.github.com/thewinterwind...
Cookie helpers: https://www.w3schools.com/JS/js_cooki...
Anthony Vipond is a senior software developer and the founder of Winterwind Software Services, a software development agency in the Philippines. Have your website, app or blockchain application developed by Anthony and his team by emailing him at anthony[at]winterwind.com. Learn more about Winterwind at https://www.winterwind.com