For data security and privacy reasons, Magento uses two cookies for frontend session. All I know is that one of them is being set in Mage_Core_Model_Cookie::set(..) and the other one in Zend_Session::expireSessionCookie(). Why does Magento use the Zend_Se

For data security and privacy reasons, Magento uses two cookies for frontend session.
All I know is that one of them is being set in Mage_Core_Model_Cookie::set(…) and the other one in Zend_Session::expireSessionCookie().
Why does Magento use the Zend_Session::expireSessionCookie()?

  • Because it is necessary for magento and you must use that session.
  • Because Magento relies heavily on the Zend Framework as the underpinning and it will be able to be ignored.
  • Because Magento relies heavily on the Zend Framework as the underpinning and I must use that for frontend session without condition.
  • It is the vestigial code, so I was able to delete the Zend cookie without any apparent deleterious effects

Тупой индус взял вопрос отсюда: stackoverflow.com/a/3924426