Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Admin Session Timeout


Recommended Posts

  • 3 weeks later...

In admin/functions/sessions.php up at the top:


if (STORE_SESSIONS == 'mysql') {

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

$SESS_LIFE = 86400; // was 1440 (24 minutes)



Note that I've got 86400 where the default was 1440. These are seconds. How many seconds do you want.


Also note that this oddly works on one of my shops and not another. And both are on the same server.


Of course you could increase all your php sessions in php.ini as well if you know how to do that and if you have the right to do that but then you have to be more careful as that effects the whole server performance.

I have moved on from oscommerce to magento and no longer monitoring this site.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...