Embedded apps can’t be loaded on IE, Safari

 

 

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>

2 thoughts on “Embedded apps can’t be loaded on IE, Safari”

  1. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *