Sometimes an AJAX request causes a Magento session to be lost. The shopping cart may suddenly be emptied, or a logged-in user may unexpectedly be logged out. One possible cause is a missing image that triggers a “404 Not Found”…
Session values cannot be read in Chrome or Internet Explorer (Magento 1)
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…