Embedded apps can’t be loaded on IE, Safari
25 November, 2014 No Comment
Today, we introduces the importance section in our blog. This section will provide solutions for problems of Shopify. Here is the first the problem.
Issue:
Some clients give feedbacks that they can’t access your apps and they only see the text “loading”
Cause:
IE and some Safari versions ignore cookies and discard your session variables when you redirect to another page within an iframe
Solution:
You should include a “compact policy” with your HTTP headers. For example in php
header(“P3P:CP=’NOI ADM DEV PSAi COM NAV OUR OTR STP IND DEM'”);
Or you can change .htaccess if you use Apache2
<fModule mod_headers.c>
Header set P3P ‘CP=”NOI ADM DEV PSAi COM NAV OUR OTR STP IND DEM”‘
</ifModule>