118 users online (1 members and 117 guests)  

Thread: JS cookies

  Results 1 to 2 of 2


  1. cookies in PHP    Forum: PHP Forum
    Replies: 1
  2. set cookies    Forum: CGI Perl Forum
    Replies: 1
  3. Cookies Session Help    Forum: Website Scripts Forum
    Replies: 8
  4. cookies    Forum: General Discussion
    Replies: 3
  1. #1
    Bimmer325i's Avatar
    New User

    Join Date
    Oct 2002

    JS cookies

    Just curious, I been looking at this Javascript site and it gives cookies. First off, does anyone know of a site that will teach me to write JS and cookies?
    Second, maybe I have this wrong but when you write a cookie that shows previous visits and last visit and etc.. how would I check that exactly?
    The one I found has a popup for the visitor, which is ok I guess, but I would rather it not show up for the visiter and just me.
    And maybe I am totally messed up on the cookie idea. So any help would be great.

  2. #2
    QuietDean's Avatar

    Join Date
    Oct 2000
    Bournemouth, UK
    Hi B.

    Cookies are just stored information, you define a name for your information (like 'lastVisit' ) and give it a value (' todays date'). What you do with the cookie is up to the code you use. You can make it print the visitors name (if they entered it before) or log them in to a secure area (not recommended) etc etc.

    Heres a tutorial to JS cookies tutorials -

    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

Tags for this Thread