Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 9 Years, 1 Month ago How to disable the logout timeout for admin user?
#1
Solved: 9 Years, 1 Month ago
Is there any way I can disable the timeout for the admin login?

I looked at "How to set session timeout? My last try to find an answer." and also looked at the "Control Panel Preferences (Global)", but couldn't find this setting.

How can I do this?

Eco
#2
Solved: 9 Years, 1 Month ago
below code segment is from admin/index.php of MyBB 1.6.10 (lines --> 284 - 290)
// Admin CP sessions 2 hours old are expired
				if($admin_session['lastactive'] < TIME_NOW-7200)
				{
					$login_message = $lang->error_admin_session_expired;
					$db->delete_query("adminsessions", "sid='".$db->escape_string($mybb->cookies['adminsid'])."'");
					unset($mybb->user);
				}
#3
Solved: 9 Years, 1 Month ago
Thanks for the answer ".m. " , I think it worked Smile


Forum Jump:


Users browsing this thread: 1 Guest(s)