Jump to content

Archived

This topic is now archived and is closed to further replies.

cray

Check cookie then run video

Recommended Posts

Hi,

newbie in need of help here! :)

I have a page with a list of 11 tutorial videos. What I need to happen is that when a user clicks the "GO" button next to each video it first checks if they have the "mycookie" and if they do not it pops up a window say 300x300 with my registration form in. If the system does detect the cookie on the click though then it simply runs the video they asked for in a new popup window.

Any help with this would be greatly appreciated.

Share this post


Link to post
Share on other sites
Guest neewah
It might be a good idea to use PHP for the cookies, as PHP has more controls over cookies than JavaScript. You can find out about PHP cookies [a href=\"http://uk.php.net/manual/en/function.setcookie.php\" target=\"_blank\"]here[/a].

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.