Increase Session Timeout

Tired of working in the Admin, taking a break and then having to sign back in. Want to accommodate customers who sign on, put stuff in the cart then go watch a movie before checking out? Well, just increase the session timeout period. You’ll need to do it separately for the catalog and the admin.

For the admin, open admin/includes/functions/sessions.php, find the code below and change the number, which is the seconds before you are timed-out, to something larger:

if (STORE_SESSIONS == 'mysql') {
if (!$SESS_LIFE = get_cfg_var('session.gc_maxlifetime')) {
$SESS_LIFE = 1440;
}

For the catalog do the same thing in includes/functions/sessions.php.

Copied from the OSCommerce forum:
session timeout