0

I have some issues where my Magento admin session times out way before what it should.

I found this GitHub link where they say you need to add this code to php.ini: php_value session.gc_maxlifetime

However I do not have access to that, and some say you can paste it in the .httaccess file, but I'm not 100% sure where I can paste this? Does anyone know where I can do this?

Thank you in advance

1 Answer 1

0

Have you checked on below configuration path in admin??

Store-> Configuration ->Advance -> Admin -> Security -> Admin Session Lifetime (seconds)

set "31536000" in above confiuguration

hope this helps you :)

4
  • I have already done this, and it still logs me out after 900 seconds Jun 22, 2021 at 10:40
  • okay then check phpinfo() and upgrade value for "session.gc_maxlifetime" Jun 22, 2021 at 10:47
  • Where do i find PHPInfo? Jun 22, 2021 at 11:18
  • in magento root create test.php file and add <?php phpinfo(); ?> and run this file in browser eg. example.com/test.php Jun 22, 2021 at 12:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.