Your current session has been expired. Magento2

Ishan Shah picture Ishan Shah · Apr 14, 2017 · Viewed 12.1k times · Source

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.

Answer

Er Amit Shukla picture Er Amit Shukla · Dec 15, 2017

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