Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Session length?


Guest

Recommended Posts

Posted

I am trying to increase the amount of time products will stay in the shopping cart without having someone logged in. Right now it is less than 2 hours. I would like products to stay in the cart at least 24 hours, if not 36.

 

I edited catalog/includes/functions/sessions.php

 

from

 

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

 

to

 

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

 

but it didn't seem to do anything to the amount of time that products stay in the basket. Are there other files I need to edit? Any other ideas/suggestions?

 

-emiLy

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...