Duplicate windows - preventing

wxdqz

New Member
I am trying to prevent the situation where users have duplicate copies of the same window open.
I have tried a function in the onload event of the page:
function popme()
{
window.focus
}
This seems to work sometimes and not others. What I need is:
If someone has opened a window with the url of:
<!-- w --><a class="postlink" href="http://www.mydomain.com/productsearch.asp?productID=24">www.mydomain.com/productsearch.asp?productID=24</a><!-- w -->
and then tries to open another window with a url of
<!-- w --><a class="postlink" href="http://www.mydomain.com/productsearch.asp?productID=36">www.mydomain.com/productsearch.asp?productID=36</a><!-- w -->
... the second window will not open but the first window will display the new url. Any ideas much appreciated.
 
Back
Top