Last update at :2024-03-14,Edit by888u
The security of Empire CMS is very high, which also leads to some inconveniences in use. For example, by default, Empire CMS will time out and log out if there is no operation for 40 minutes after logging in to the background.
Solution to Empire CMS background login timeout
This can be solved by the following two methods
Method 1: In the background parameter settings, set the timeout to a larger value.
Method 2: Open: /e/class/function.php, search:
function is_login(Find the following code below:
//Login timeout $logintime=getcvar('logintime',1); if($logintime) { if(time()-$logintime>$public_r['exittime']*60) { printerror("LoginTime","index.php"); } esetcookie("logintime",time(),0,1); }This timeout function can be removed by commenting it out or deleting it.
Solution to the 5-time limit of login errors in the Imperial CMS background
The security of Imperial CMS systems is well-known in the industry. But sometimes it also brings some inconvenience. For example, when logging in to the background, if the password is incorrect more than 5 times, you will be locked for 60 minutes before you can log in again. This tutorial solves this limitation.
Take Empire CMS7.2 as an example,
The first step is to open the /e/config/config.php file
Find: loginnum, for this item, just change the value from 5 to a larger value.
'loginnum'=>5, 'logintime'=>60,logintime is the lock time.
Recommended site search: US server, US free hosting, website ip address query Wanwang domain name registration official website, ip address search, ip address query, vps to ip, in domain name registration, Dongguan server, domain name space agent,
发表评论