How can I retrieve the Magento session value which I have saved in the past
You need to load Magento core/session object and call get method (based on what you have set when you are saving the Magento Session) to retrieve the Magento Session value
e.g
Saving the session value
Mage::getSingleton(“core/session”)->set[YOUR SESSION NAME](
Retrieving the session value
Mage::getSingleton(“core/session”)->get[YOUR SESSION NAME]();
Here is the example
Mage::getSingleton("core/session")->setYourValue("test"); $youvalue = Mage::getSingleton("core/session")->getYourValue();