为 magento 前端设置会话超时限制 [英] Set session time out limit for magento frontend

查看:27
本文介绍了为 magento 前端设置会话超时限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在 magento 中将会话超时限制设置为 30 分钟,但它不会在 30 分钟内到期.我去了 System->Configuration->Web->Session Cookie management 并为 Cookie Life time 字段设置了 1800 值,但它仍然没有在指定时间内使会话过期出限制.我不知道 Magento 前端会话有什么问题.

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 management and set 1800 value for the field Cookie Life time but still it is not expiring the session in specified time out limit. I don't know what is wrong with Magento frontend session.

我是否在正确的位置设置了限制?magento 后端是否还有其他设置来设置前端会话超时限制.

Am I setting the limit at right place? Is there any other setting in magento backend to set the frontend session time out limit.

推荐答案

我发现了我缺少的东西.

I found out what I was missing.

我正在为默认配置设置 cookie 生存时间,但它不起作用.

I was setting the cookie life time for default configuration but it did not work.

但这也需要在网站和商店配置范围内设置超时时间.

But this also needs to set the time out in website and store configuration scope.

在为这些范围设置时间后,它起作用了.

After setting the time for these scopes it worked.

这篇关于为 magento 前端设置会话超时限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆