Make your PHP sessions last longer
It’s pretty simple.
ini_set('session.gc_maxlifetime',n);
where n is the number of seconds before the session times out.


It’s pretty simple.
ini_set('session.gc_maxlifetime',n);
where n is the number of seconds before the session times out.