Results 1 to 2 of 2

Thread: Closing a Page before opening a new window

  1. #1
    Join Date
    Jan 2011
    Thanked 0 Times in 0 Posts

    Default Closing a Page before opening a new window


    I am looking for a script that would close the current window/page before trying to open a new window or page. Basically what I am trying to do is, block visitor from having the same page open twice...They have to close the current page before trying to open a new one. Hopefully this make sense..

    Thank You

  2. #2
    Join Date
    Mar 2006
    Illinois, USA
    Thanked 690 Times in 678 Posts


    There's no way to force this. You might be able to coordinate it in some cases, but it's not possible to be sure because windows aren't related in browsers. You could try to force it to be launched in a popup window with a certain name (so the new page would replace the old page), but if they access the page directly it won't work-- and popups may be blocked in some browsers as well.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts