Posts About sessions

Feb
20
February 20, 2007

You may have come across a problem in PHP where user sessions (ie, from $_SESSION) expire earlier than you expect. Now, there’s many different settings that can affect PHP sessions. Besides any application preferences, PHP has settings like session.gc_probability and session.gc_maxlifetime. But none of these matter if you don’t change session.save_path. By default, sessions are saved […]