Quote Originally Posted by DrByte View Post
The 1440 comes from your php.ini configuration ... which is the default value that PHP sets out-of-the-box.
However, for example, changing the 900 in sessions.php

Code:
  if (IS_ADMIN_FLAG === true) {
    if (PADSS_ADMIN_SESSION_TIMEOUT_ENFORCED != 0 && SESSION_TIMEOUT_ADMIN > 900) {
      $SESS_LIFE = 900;
to this
Code:
 if (IS_ADMIN_FLAG === true) {
    if (PADSS_ADMIN_SESSION_TIMEOUT_ENFORCED != 0 && SESSION_TIMEOUT_ADMIN > 86400) {
      $SESS_LIFE = 86400;
keeps the admin open for 24 hours.

So, I would like to do the kind of thing to keep the cart from being deleted so fast for shoppers that have not logged in.

However, unlike the above change, changing the $SESS_LIFE assignment from 1440 in the below section of code has no discernible effect.

Code:
 if (defined('SESSION_TIMEOUT_CATALOG') && (int)SESSION_TIMEOUT_CATALOG > 120) {
      $SESS_LIFE = (int)SESSION_TIMEOUT_CATALOG;
    } else
    if (!$SESS_LIFE = get_cfg_var('session.gc_maxlifetime')) {
      $SESS_LIFE = 1440;
I don't understand why it works for the admin $SESS_LIFE but not for the shoppers' $SESS_LIFE.
Thanks!