My application uses some session variables that are timing out even though I thought they would not because I’ve got the following setting in php.ini:
session.cookie_lifetime = 0
The other session settings in php.ini are pretty much set as their defaults. How do I make sure the session variables stay around until the browser window closes?
I think you set the session timeout with session.gc_maxlifetime which defaults to 1440 seconds – 24 minutes