Embedded apps can’t be loaded on IE, Safari
25 November, 2014 Comments (2)
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>
Comments are closed.
Comments (2)
Balazs
Hello!
I have the same problem, but including the P3P header didn’t help.
admin
hi Balazs
P3P will solve problem on IE, for new safari browser version you need show a link for user to click on it first before you could save your app’s session cookie. You could check our Freegifts app on safari 8 for more detail.