Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where do you set the sessions timeout?


mark754

Recommended Posts

Posted

catalog includes/functions/sessions.php

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

 

is that what you want

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

Thanks. My problem is that the admin panel logs me out after a few minutes, which is inconvenient beacuse I have to keep logging in if I am working on something. However I have another store with the same sessions timeout setting and it doesn't do this - it keeps me logged in indefinitely.

 

Is there another setting for this?

Posted

admin/includes/functions/sessions.php

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

 

Do you have an admin access contribution installed

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

do both stores have this contribution

are both stores on the same server

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

there is the session.gc_maxlifetime in php.ini to which the sessions.php refers

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

php.ini is onthe server which you will not have access to if it is a hosted account.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Archived

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

×
×
  • Create New...