Google Chrome maximum cookie expiry date
问题 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