Magento automatically logs out administrators after a period of inactivity. This is controlled by the session timeout interval. On ruachost.com, you can adjust this setting to balance convenience and security.
Why Change the Timeout?
-
Security → Shorter timeouts reduce risk if an admin leaves a session open.
-
Convenience → Longer timeouts prevent frequent logouts during extended work.
Steps to Change the Timeout Interval
Magento 2
-
Log in to Magento using your administrator account.
-
In the left sidebar, click Stores → Configuration.
-
Under Advanced, click Admin.
-
Expand the Security section.
-
In the Admin Session Lifetime (seconds) field, enter the desired timeout value.
-
Example:
1200= 20 minutes.
-
-
Click Save Config.
-
Log out and back in for the new setting to take effect.
Magento 1.9 and Older Versions
-
Log in to Magento using your administrator account.
-
On the top menu bar, click System → Configuration.
-
In the left pane, scroll down and click Advanced → Admin.
-
Click Security.
-
In the Session Lifetime (seconds) field, enter the desired timeout value.
-
Example:
1200= 20 minutes.
-
-
Click Save Config.
-
Log out and back in for the new setting to take effect.
Important Notes
-
The timeout value is measured in seconds.
-
Default value is controlled by the PHP directive
session.gc_maxlifetime. -
Always balance usability with security, avoid excessively long timeouts.
-
If unsure, consult ruachost.com support for recommended values.