Get Paid to Participate - up to $1 per post!     Twitter     Facebook
Hosting Discussion

Hosting Discussion > Web Hosting Forums > Website Development & Design > Request: Cookie/Javascript thing...
forgot password?



  Post #1 (permalink)   02-17-2002, 12:14 PM
HD Addict
Homer's Avatar
Join Date: Jan 2002
Posts: 122
Send a message via ICQ to Homer

Status: Homer is offline

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!!

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: