Results 1 to 2 of 2

Thread: Popup Suggestion?

  1. #1
    Join Date
    Jan 2006
    Posts
    29
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Popup Suggestion?

    Hey there,

    I was wondering I currently have a media player that opens a popup once the EU selects the video on the content page. I was wondering though. I have noticed that many users take the url of the pop up and send it to their friends. I was wondering if anyone had any suggestions about how I could make it so the window would recognize if it were in a pop up or not and if not it would redirect to another page.

    Thanks in advance!
    -Kevin Neberman

  2. #2
    Join Date
    Jul 2006
    Posts
    497
    Thanks
    8
    Thanked 70 Times in 70 Posts

    Default

    Are you using any server-side language for this? If so, on the page where the user selects a video, write his IP address and the current timestamp to a database, then check for records with old timestamps (maybe a few minutes old or more?) and remove them. When the popup page is requested, check that the user's IP address is in the database and, if it is, remove it; if it isn't, redirect the browser.

    By the way, is this application financially sensitive? Do you pay someone or get paid when a user views a video? If so, this probably needs more security.

    EDIT: Woops. Cookies would be a better solution if no money is involved.
    Last edited by Jesdisciple; 10-14-2008 at 07:51 PM.
    -- Chris
    informal JavaScript student of Douglas Crockford
    I like wikis - a lot.

Bookmarks

Posting Permissions

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