I was creating my website when I created a new cookie with this php line :
setcookie('subscribed', 'true', time() + 365*24*3600*100, '/', null, false, true);
I realised my browser (Google Chrome) refused to get that cookie. When I looked at my cookies in Google Chrome it wasn't there. I started fiddling with the different settings until I saw that this worked :
setcookie('subscribed', 'true', time() + 365*24*360, '/', null, false, true);
Which meant that changing the expiration time to a lower value did work as a means of making this work.
My question is, what is the lowest expiration time you can set for a cookie in Google chrome? Does anyone know of this policy?