General

How to Change Backend Session Timeout in Magento 2

Hello Magento Folks,

Last time, We learned about Magento 2: How To Configure Elasticsearch for Magento 2 stores.

Today, I am here to explain to you How to Change Backend Session Time Out in Magento 2.

Introduction

The best feature offered by Magento 2 gives you an option to set backend session timeout in seconds. After the introduction of Magento 2.1, it collaborates with the browser’s session cookie, therefore when you close your system browser session is automatically terminated. Thus, for session timeout, every store owner can set according to their need.

Importance of Backend Session Time Out In Magento 2

The massive problem in session time out is if you have less time for session timeout, then to log in every time is too annoying for any person. So, to overcome this problem, you need to change the session timeout from the backend. Almost the preference will be like backend session timeout can be nearly 24 hours. By increasing time, the person using admin will have to login one time per day, which will be more helpful.

Steps for Configuration

Step 1: Primarily, open the admin panel on your Magento 2 backend and open the stores and click on the configuration option

Step 2: After clicking on the configuration option click on Advanced and inside that tap on Admin option. 

Step 3: Now, click on the security option to explore as displayed in the below image.

Step 4: After exploring the security option, you will now able to view the “Admin Session Lifetime (seconds)” option in which you can set your session timeout according to your needs.

Step 5: Click on the Save Config option.

So, by following the above steps, you will be able to change the backend session timeout of your Magento 2 store.

Remarks: There some valid values for setting up session timeout, which are between 60 seconds to 31536000 seconds. In which we can say that the valid minimum limit is One Minute, and the maximum valid limit is One Year.

Over to You!

Certainly, if you have more work in Magento Backend, then there is a need for a long session timeout. If there is less work, then there is no need for the long session for your backend. Therefore you can set less timeout in your backend accordingly.

So this is it for today. If you face any issues while applying the above steps, then feel free to contact our support team for any help.

Please let us know if you have any specific topics for us to write the blog in the comments section below.

Happy Reading?

Click to rate this post!
[Total: 2 Average: 5]
Gaurav Jain

Gaurav Jain is Co-Founder and Adobe Certified Expert-Magento Commerce Business Practitioner. Being Computer Engineer👨‍💻 and possessing Extensive Marketing skills he handles all kinds of customer Queries and his Happy😀 & Helping🙏 Nature makes customer's day Delightful. When he isn’t working, you’ll find Gaurav Reading on Books📖 or Traveling🚗. Also, he is Speaker at Magento Meetups.

Recent Posts

How to Integrate ChatGPT with Laravel Application?

In this guide, we'll explore how to integrate ChatGPT, an AI-powered chatbot, with a Laravel…

3 days ago

What are Net Sales? How to Calculate Your Net Sales?

In the world of business, understanding financial metrics is crucial for making informed decisions and…

5 days ago

Magento 2 Extensions Digest April 2024 (New Release & Updates)

Welcome to the MageComp Monthly Digest, where we bring you the latest updates, releases, and…

5 days ago

The ABCs of Geofencing: Definition, Features and Uses

In this era, businesses are always on the lookout for ways to engage with their…

6 days ago

How to Delete Product Variant in a Shopify Remix App using GraphQL Mutations?

Managing a Shopify store efficiently involves keeping your product catalog organized. This includes removing outdated…

7 days ago

6 Innovative Tools Revolutionizing E-Commerce Operations

E-commerce has transformed the way consumers shop for products and services and interact with businesses.…

1 week ago