I'm very new to working with session data in php and I can't figure out why this happened.
assume I have this very simple code:
session_start();
$_SESSION['someKey']= $someValue;
with
session.gc_maxlifetime = 1440 (24 minutes)
say I run the above code, shut down my computer and come back 6 hours later.
What does it mean that $_SESSION['someKey'] is still set with $someValue?
if gc_maxlifetime is 24 minutes shouldn't that data have been removed?
Any explanation or a reference to some kind of comprehensive guide on php sessions would be greatly appreciated!