JasonWang Posted November 9, 2013 Share Posted November 9, 2013 I saw some topics in this forum. It's said Prestashop 1.5 doesnt use $_SESSION. They recommend to use $cookie->myvar = myvalue to store var. I tried, but it is stored in the cookie, and value cannot be array, but only string. Meanwhile, I want the var expires when the session is over. But according to the method above, when I close brower, open it again, the var is still there. So, how does Prestashop1.5 simulate the SESSION? Any help would be very appreciated. Link to comment Share on other sites More sharing options...
PascalVG Posted November 9, 2013 Share Posted November 9, 2013 Hi Jason, please don't double post questions: http://www.prestashop.com/forums/topic/287422-how-to-store-a-var-in-the-session/ Thanks, pascal. Link to comment Share on other sites More sharing options...
Recommended Posts