Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Sorry if I'm not using the right thread, but under ?Admin Access Level Accounts for MS2? it looks like the activities have diminished.

 

I?m begging for help to increase the login time under Admin as it?s a waist off time logging in every 24 minutes and I can?t modify the timeout length in the php.ini file as I?m on a shared server.

 

Being limited myself, I was hoping someone else had done something to this contribution to keep the login ?open? but searching for hours I haven?t found anything that works.

 

Someone that can help keeping me staying ?logged in? ?

 

Thanks in advance.

  • 4 weeks later...
Posted
Sorry if I'm not using the right thread, but under ?Admin Access Level Accounts for MS2? it looks like the activities have diminished.

 

I?m begging for help to increase the login time under Admin as it?s a waist off time logging in every 24 minutes and I can?t modify the timeout length in the php.ini file as I?m on a shared server.

 

Being limited myself, I was hoping someone else had done something to this contribution to keep the login ?open? but searching for hours I haven?t found anything that works.

 

Someone that can help keeping me staying ?logged in? ?

 

Thanks in advance.

 

I forgot where I found this solution, Open admin/includes/functions/sessions.php and find the code:

 

 

if (STORE_SESSIONS == 'mysql') {

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

$SESS_LIFE = 1440;

}

 

Change 1440 to bigger number. 3600 is 1 hour.

  • 2 months later...
Posted (edited)

Doesn't work for me either. I'm using Mysql to store sessions.

 

I searched everywhere. Any ideas?

 

Thanks.

Edited by drweird13
  • 3 weeks later...
Posted

The changes on the above example only works at the admin session. You also need to make the same changes at the catalog/includes/functions/sessions.php. This should work. It works on mine. Good luck!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
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...