在 Magento 控制器中,无法获取在此操作重定向之前设置的会话变量

in Magento controller, can't get session variable which was set before redirect on this action

在重写的客户控制器中设置:

if(!empty($customer_data)){

    $session = Mage::getSingleton('core/session', array('name' => 'frontend'));
    // or $session = $this->_getSession();
    $session->setEmail($email);
    // or  $email   = $session->setData('email', $email);
    Mage::getSingleton(‘core/session’)->setMySessionVariable($email); 
    $this->_redirectSuccess($this->_getUrl('*/*/customerChoice/'));

    ...

    }

然后,在其他客户管理员的操作中,我从上面的代码重定向,我这样做:

public function customerChoiceAction()
{
    $session = Mage::getSingleton('core/session', array('name' => 'frontend'));
    // or $session = $this->_getSession();

    $email   = $session->getEmail();
    // or  $email   = $session->getData('email');

但是我得到的结果是空的,在哪里挖掘和解决?谢谢!

这只是 CHROME 中的一个问题,在 Firefox 中,一切正常。