Jump to content

Edit History

Zohaib-fk

Zohaib-fk


Post Updated

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();
Zohaib-fk

Zohaib-fk

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.

 

@session_start();    
$session_id = session_id();
×
×
  • Create New...