Set session time out limit for magento frontend

后端 未结 3 1463
暖寄归人
暖寄归人 2020-12-13 10:01

I am trying to set session time out limit to 30 minutes in magento but it is not expiring in 30 minutes. I went to System->Configuration->Web->Session Cookie managem

3条回答
  •  隐瞒了意图╮
    2020-12-13 10:23

    I had this issue with the Magento admin session . The crux of the problem is that Magento's cookies obey PHP's session.gc_maxlifetime parameter. If you adjust that in your htaccess like the following, you should have better luck:

    php_value session.gc_maxlifetime 86400
    

    Hope that helps!

    Thanks, Joe

提交回复
热议问题