Jump to content

Check cookie then run video


cray

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.
Link to comment
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].
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.