Jump to content
Sign in to follow this  
Aage

Admin Time Out too short

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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

 

I searched everywhere. Any ideas?

 

Thanks.

Edited by drweird13

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×