Your current session has been expired. Magento2
Solution 1
This is the perfect solution
first step: find "admin/security/session_lifetime" in table core_config_data. if not exist create one and set value to 86400
second step: clean cache (remove var/cache)
login and fix
https://github.com/magento/magento2/issues/5309
Solution 2
I was facing same issue, After some research I had found the solution for admin login issue.
It's occured due to MySql TIMESTAMP and MySql version issue.
If we are using MySql 5.5.x than we need to take care about TIMESTAMP.
Here is the perfect solution which helps you to overcome the admin login issue of session.
Go to : admin_user_session
table in MySql
Set created_at
column to '0' and updated_at
column to 'CURRENT_TIMESTAMP' as it is.
Refresh admin page and try to login again, it will work 100%
Thanks.
Solution 3
You need just to modify a value in your table [core_config_data] in database.
- Open PHPMYADMIN
- run:
UPDATEcore_config_data
SETvalue
= 864000 WHEREpath
= 'admin/security/session_lifetime' - login into admin pannel again
I hope this could help you.
Solution 4
Make sure the times on all your servers are in sync. You do not need to update any tables.
Solution 5
Admin Side login that time session expired
1 step: Find "admin/security/session_lifetime" in table core_config_data.
if not exist create one and set value to 86400
second step: clean cache (remove var/cache)
login and fix
Ishan Shah
Having more then 4 yr of exp in Professional Web Development. Searching for impossible
Updated on June 14, 2022Comments
-
Ishan Shah almost 2 years
I just migrate my site to localhost and everything working fine. but when i try to logged into my admin pannel then its through me error like
Your current session has been expired.
I removed all the cache from the folder also change the setting from database about session expiration time.
also we have tried each and every possible solution from this thread.
Thanks in advance.