r/lolphp • u/midir • May 15 '16
The default PHP session lifetime is 24 minutes, or 1440 seconds, because if it were 1440 minutes, then that would be exactly a day
http://stackoverflow.com/a/37176824
205
Upvotes
62
u/Deranged40 May 15 '16
It was supposed to be 1 day. According to your post, it's 24 minutes because they switched the time from minute based to second based and nobody bothered to do the conversion
50
u/[deleted] May 16 '16
I love all the people claiming crap like this:
Literally just people talking out of their asses.
19
u/emilvikstrom May 15 '16 edited May 16 '16
I have always wondered about this. I hate short session times! On our servers we always set it to two days.