$garbage_timeout = 3600; // 3600 seconds = 60 minutes = 1 hour ini_set('session.gc_maxlifetime', $garbage_timeout); Code (markup):
$garbage_timeout = 3600*24; // 24 hours :o ini_set('session.gc_maxlifetime', $garbage_timeout); Code (markup):