I'm wanting to create a Cookie that only lasts a few hours. I was using this:
The +8 is because my server is based in the PST timezone, however is there a better way so I can create the cookie's time based on the time the browser is using.PHP Code:setcookie("CookieName", "Data", time()+60*60*(3+8), "/", ".Domain.com", 0);




)
Reply With Quote