Aage Posted August 23, 2005 Share Posted August 23, 2005 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. Quote Link to comment Share on other sites More sharing options...
tsuiphoto Posted September 14, 2005 Share Posted September 14, 2005 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. <{POST_SNAPBACK}> 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. Quote Link to comment Share on other sites More sharing options...
zxedxz Posted November 21, 2005 Share Posted November 21, 2005 It doesn;t work for me. Any other method? Quote Link to comment Share on other sites More sharing options...
drweird13 Posted November 28, 2005 Share Posted November 28, 2005 (edited) Doesn't work for me either. I'm using Mysql to store sessions. I searched everywhere. Any ideas? Thanks. Edited November 28, 2005 by drweird13 Quote Link to comment Share on other sites More sharing options...
tsuiphoto Posted December 19, 2005 Share Posted December 19, 2005 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.