Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Increasing the Session Timeout on the Admin Side


Guest

Recommended Posts

@@SpecOpShop

 

/admin/includes/functions/sessions.php

 

if (STORE_SESSIONS == 'mysql') {

if (!$SESS_LIFE = get_cfg_var('session.gc_maxlifetime')) {

$SESS_LIFE = 1440;

}

 

the 1440 is in SECONDS

 

 

Chris

Link to comment
Share on other sites

  • 2 weeks later...

I made the change, but it doesn't seem to keep the session any longer. I increased it to 3600, is there something else I need to change?

Link to comment
Share on other sites

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

  • 11 months later...

@SpecOpShop

 

check your permissions. I forgot to check mine and they are at 644, so the first time my changes didn't save. But after I remembered to change to 755, then make the changes to the length of time you want, that should work. Don't forget to change your permissions back to 644 when done.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...