mark2 Posted March 25, 2012 Share Posted March 25, 2012 IE browser requires P3P for cookies. Pretashop set P3P in header.php However the redirect functions in Tools.php do not set the P3P header. This was a problem for us because we wanted to link to a prestashop site for login, then redirect back to another site. The login cookie was not accepted on IE due to lack of P3P. This may have been resolved in latest versions of Prestashop (we are still on 1.2.5 !) But I thought I would put the information somewhere as it is not easy to debug. Link to comment Share on other sites More sharing options...
petrovv Posted March 25, 2012 Share Posted March 25, 2012 IE browser requires P3P for cookies. Pretashop set P3P in header.php However the redirect functions in Tools.php do not set the P3P header. This was a problem for us because we wanted to link to a prestashop site for login, then redirect back to another site. The login cookie was not accepted on IE due to lack of P3P. This may have been resolved in latest versions of Prestashop (we are still on 1.2.5 !) But I thought I would put the information somewhere as it is not easy to debug. I temporarily solved the problem by adding this: header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"'); on the first line above: require(dirname(__FILE__).'..........'); This can be to do the following files: index.php order.php authentication.php cart.php product.php Then just remove the cookies from IE. I hope the next version is resolved. 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