Mike89 Posted November 3, 2022 Share Posted November 3, 2022 Hello everyone, I have faced this issue when creating a module. It is forbidden to use @session_start(); in the code. My intention is to get session_id(); to the code Can you tell me what are the other methods I could try ? I have tried Quote Context::getContext()->cookie also tried to use Quote Context::getContext()->smarty as well because this id is available for the front end. But now I am clueless and need some support. Thank you in advance. Link to comment Share on other sites More sharing options...
ps8modules Posted November 6, 2022 Share Posted November 6, 2022 Hi. https://prestacraft.com/how-to-set-cookie-variable-in-prestashop-1-6-and-1-7/# 1 1 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