/** * Remember the last visited url in the session * * @return Mage_Core_Controller_Front_Action */ public function postDispatch() { parent::postDispatch(); if (!$this->getFlag('', self::FLAG_NO_START_SESSION)) { Mage::getSingleton('Mage_Core_Model_Session')->setLastUrl(Mage::getUrl('*/*/*', array('_current' => true))); } return $this; }
/** * Postdispatch: should set last visited url * * @return Mage_Core_Controller_Front_Action */ public function postDispatch() { parent::postDispatch(); if (!$this->getFlag('', self::FLAG_NO_START_SESSION)) { AO::getSingleton('core/session')->setLastUrl(AO::getUrl('*/*/*'), array('_current' => true)); } return $this; }
/** * Postdispatch: should set last visited url * * @return Mage_Core_Controller_Front_Action */ public function postDispatch() { parent::postDispatch(); Mage::getSingleton('core/session')->setLastUrl(Mage::getUrl('*/*/*'), array('_current' => true)); return $this; }