SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    May 2004
    Location
    Australia
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    setcookie expiry time & ie 6 error

    I have an issue with cookie expire times and ie 6.0. I tested various cookies ranging from 2 minutes (time() +120 or 2*60 etc) to 1 hour to expiry in ie 6 but these are never set in the cookies folder on the desktop. I also tested these in firefox + opera and they work. When i increased the time to expiry in ie6 (time() +100000 or 60*60*24) the cookies appear in the cookies folder. This is not a p3p issue as i have the correct headers. Is there a minimum expiry time in ie6 before the cookies are set in the cookies folder?

  2. #2
    SitePoint Zealot shenkong's Avatar
    Join Date
    Sep 2004
    Location
    China
    Posts
    132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    setcookie("a", "b", time() + $lifeTime, "/");
    it works well


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •