Sometimes values stored in the session cannot be read again in Internet Explorer or Chrome.
|
1 2 3 4 5 |
// Set session value Mage::getSingleton('core/session')->setImageData($imgData); // Reading the session value returns null $imgData = Mage::getSingleton('core/session')->getImageData(); |
Try the following workaround.
Open System > Configuration > Web > Session Cookie Management > Use HTTP Only, then select Yes.
Reading and writing Magento session values should now work in Chrome and Internet Explorer.
Session values cannot be read in Chrome or Internet Explorer
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.