I've been using a session for a particular website and it seems to be timing out. Not sure why, I thought by designed sessions do not timeout until the browser is closed.
I havent timed it but they do seem to expire after a while.
Does the php.ini file have anything to do with this?
These are the session settings in the php.ini file
session.save_path = /tmp session.use_cookies = 1 session.cookie_lifetime = 0 session.cookie_path = / session.gc_maxlifetime = 1440
So looking over that it seems that every 24min the GC will do its things with session. But then because the session.save_path is set, the GC doesnt do this automatically without a cron job.
Whats going on?