MEG Venture Posted September 27, 2014 Share Posted September 27, 2014 Hi I use the below code in a module I develop, but Prestashop validator warns me that the use of $_SESSION is forbidden. What should I use instead? Can you help me? $_SESSION['priceval'.$this->id_product.$this->id_product_attribute] = Tools::getValue("priceval"); Link to comment Share on other sites More sharing options...
El Patron Posted September 27, 2014 Share Posted September 27, 2014 I've only needed session in one module, so I could re-display screen in bo (creating data for screen is heavy load). working new module that will used inherent php shared memory on unix and widows post 2000, and if not available then session. best to explain what you are tying to accomplish to get some ideas of how to do without session...also there are tricks to using session, i.e. to close session etc...that must be considered. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now