Jump to content


Photo

Check cookie then run video


  • Please log in to reply
1 reply to this topic

#1 cray

cray
  • Members
  • Pip
  • Newbie
  • 1 posts

Posted 28 March 2006 - 11:11 AM

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.

#2 Guest_neewah_*

Guest_neewah_*
  • Guests

Posted 28 March 2006 - 05:39 PM

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].




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users