CodeIgniter Forums
cookies being set 50+ years in the future! - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: cookies being set 50+ years in the future! (/showthread.php?tid=78460)



cookies being set 50+ years in the future! - starchild - 01-22-2021

For some reason, our logged in cookie being set 50+ years in the future.  No mattter what value I set as the time()  (n), it showing as 2072-02-14T01:22:20.956Z 2072-02-14T01:22:20.956Z


Any thoughts please?


RE: cookies being set 50+ years in the future! - InsiteFX - 01-22-2021

And what time date do you get if you echo out php date method?

What is your time zone set to?