setcookie('cdate', date('Ymd'), time() + 120);
setcookie('cdate', date('Ymd'), time() + 82500);
I was trying to set a cookie with 2 minutes expired time. Strangely, no cookie is set with no. 1 but no. 2 it is working. I view the cookie in chrome and firefox. Any idea?
Btw, i am running php + IIS in my windows 7 locally.