Alex Rivera | Logout

Stop people having my website loaded on multiple tabs

Asked 2012-06-13T04:22:31.047
46

I want users to browse my site from only one tab in their browser. How can this be done? Would I use javascript and cookies?

For example, I have a website: www.example.com - and I want my clients to only be able to visit the site from one single tab in one browser. If they open another tab and load the site (or a subpage of the site) - I want an alert "Can't open multiple instances", and then redirect them to an error page.

Once thing to note - if the user changes the address from www.example.com/action/door/mine.aspx to www.example.com - that should work fine, because the user is in the same (original) tab.

Any help will be appreciated. Thanks in advance.

Edit
Report

1 Answer

0
answered 2012-06-13T04:45:07.713

Your Answer