How to read / write / destroy Cookie in Prestashop?

devquora
devquora

Posted On: Jun 10, 2021

 

For read, remove a key/value from Cookie, you can use key/value as a property of cookie object for example: echo $cookie->key1; for read and $cookie->key1 = null for remove. And for write you can use: $cookie->write();

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    PrestaShop Interview Questions

    What is Prestashop?

    Prestashop is free rich featured open source e-commerce solution published under Open Software License (OSL). It allows..

    PrestaShop Interview Questions

    List out some features of Prestashop?

    Below are the list features supported Prestashop:- Hundreds of Store Templates Inbuilt Website Builder Mobile Responsiv..

    PrestaShop Interview Questions

    On what architecture Prestashop is based?

    PrestaShop is based on a 3-tier architecture:Object/data. Database access is controlled through files in the “class..