【问题标题】:Why is the Magento Logout is not clearing the current session data?为什么 Magento Logout 没有清除当前会话数据?
【发布时间】:2015-04-08 08:21:34
【问题描述】:

我有一个问题(我使用的是旧版本的IWD One Page Checkout)。

如果您以adam 登录,然后以log out 登录并以访客身份结帐。 它发送的电子邮件将包含以前登录的用户数据。

此外,当您注销时,标题仍会显示:

Welcome, Adam Henry! (Not Adam Henry?) My Account Checkout Log In

我意识到这个名字是由此而来的:

Mage::getSingleton('checkout/session')->getQuote()->getData()

仍然保留旧的会话数据。

这些数据是否应该在注销时被清除?

【问题讨论】:

    标签: php magento zend-framework magento-1.9


    【解决方案1】:

    持久购物车可能会导致这种行为。 尝试在magento admin backend中禁用它

    Admin -> System -> Customer -> Persistent Shopping Cart

    【讨论】:

    • 刚刚注意到,在这种情况下,将Clear Persistence on Log Out 更改为Yes 就足够了
    • @surfer190 的建议是解决方案。谢谢。
    • @surfer190 即使启用它也无法工作 Magento 2.3 C.E x
    • 你知道编程登录后强制清除报价的方法吗?
    猜你喜欢
    • 2019-09-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-08-14
    • 1970-01-01
    • 1970-01-01
    • 2017-12-02
    相关资源
    最近更新 更多