Use the below code to set and get Magento session values:
|
1 2 3 4 5 6 |
// set value $value = 123; Mage::getSingleton('core/session')->setValue($value); // get value $value = Mage::getSingleton('core/session')->getValue(); |
Setting and getting session values
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.