Jump to content

Unique session id in prestashop using cookie


Zohaib-fk
 Share

Recommended Posts

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 by Zohaib-fk
Post Updated (see edit history)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More