Zohaib-fk Posted November 27, 2017 Share Posted November 27, 2017 (edited) Hi, I want to get unique session id for each new browser session like session_id in normal php function. From other forum posts and below documentation link, I come to know that prestashop using cookie for handling sessions. http://doc.prestashop.com/display/PS16/Managing+Cookies I tried different code samples but not getting unique browser session id like below code. Please advice. PrestaShop Tutorials Videos [How to do Tasks] @session_start(); $session_id = session_id(); Edited July 1, 2021 by Zohaib-fk Post Updated (see edit history) Link to comment Share on other sites More sharing options...
Mike89 Posted November 3, 2022 Share Posted November 3, 2022 Hello Zohaib-fk, I have this exact same issue right now. How did you overcome this issue using cookies? @session_start(); $session_id = session_id(); (without using session start) I think now you have figured this out. Regards, 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