Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prevent Multiple instances of the same web site

Status
Not open for further replies.

vangundy

Programmer
Jan 29, 2005
38
CA
I want to be able to prevent the end user from opening the same web site more than once. How can I do this using javascript?
 

To follow up Lee's excellent answer, take a step back and think about what it is you are actually asking.

You would need to do this at an operating system (or at very least, IP) level. For example, I have 5 different browsers on my PC at the moment - and there is no way JS running in NN7 would be able to control what websites Opera can visit or not.

Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
As well, browser windows only have access to each other if one window is opened by one of the web pages that's already open, like with window.open(). Other than that, 2 instances of IE or Firefox or any other browser have no way to connect with each other.

Lee
 
Why do you want to do this? Are you having trouble using Session variables or something?

Adam

There are only 10 types of people in the world: Those who understand binary, and those who don't
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top