Support » Plugin: PrestaShop Integration » Problem with customer logon in PrestaShop

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author aytechnet

    (@aytechnet)

    Hello,

    You should have something like that in your code of Cookie.php :

    if (PHP_VERSION_ID <= 50200) /* PHP version > 5.2.0 */
                            return setcookie($this->_name, $content, $time, '/' /* $this->_path */, $this->_domain, 0);
                    else
                            return setcookie($this->_name, $content, $time, '/' /* $this->_path */, $this->_domain, 0, true);

    If you are making tests, you may, in order to be sure no session cookie can cause problems, removes all the cookies relative to your site in your browser. You may invalidate all the existing cookie too.

    If you use Firefox, you can under Preferences/Private area (in French : Vie Privée) display all the cookies and remove those relative to your website by searching your domain name.

    I hope this will help you.

    Thanks, that solved my problem. I was using Safari and the “empty cache” function doesn’t remove the cookies. 😀

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with customer logon in PrestaShop’ is closed to new replies.