Thread: More Cookies

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    73
    Rep Power
    15
    Does anyone know if I can use cookies to allow someone to visit my page for a certain time eg 1hour. If so how is it done?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2000
    Location
    Indiana
    Posts
    614
    Rep Power
    16
    Yes, just set the cookie with a variable such as $time to one hour past the current one. Then everytime they load a page check the cookie to see if it's past that time or not.

IMN logo majestic logo threadwatch logo seochat tools logo