Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Time Out too short


Aage

Recommended Posts

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.

Link to comment
Share on other sites

  • 4 weeks later...
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.

Link to comment
Share on other sites

  • 2 months later...
  • 3 weeks later...

Join the conversation

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

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