Skip to main content

Magento 2 - Your Current Session Has Been Expired on Sign in.

Updated 1 min readMarkdown
Magento 2 - Your Current Session Has Been Expired on Sign in.

Are you stuck here? Signing by correct username and password, but it returns error because Current Session Has Been Expired. It maybe because there is no path that has admin/security/session_lifetime value on core_config_data table of your database.

You can add it into that table by adding 1 row of that has the value :

config_id : NULL (automatically)
scope     : default
scope_id  : 0
path      : admin/security/session_lifetime
value     : 86400 (1 day by 60*60*24, it's in second)

Insert to core_config_data table

Next, you need to clean cache : php bin/magento cache:clean or bin/magento cache:flush. Then hard refresh the browser, and sign in.

About the author

  • I wrote these tutorials for myself in future when I forget for the next steps.

No comments yet. Be the first to comment.

More from this blog