Request: Cookie/Javascript thing...

Homer

Well-known member
Hi,

I am looking for a cookie/javascript thingie that does the following:

Check if cookie is there...
  • Is it there? Yes? --> Do nothing.
  • No? --> Execute a function (functionname())
    Now in this function there are 2 options, Yes and No. If Yes, they will be redirected. If No the cookie has to be set so that next time the question won't be asked again.

Can anyone give me a hint on how to do this cookie thing?

Thanks guys!!
 
Top