Log in

View Full Version : Popup Suggestion?



Neebski
10-13-2008, 09:22 AM
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

Jesdisciple
10-14-2008, 06:42 PM
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.