embedded app compatible with ITP 2.1

Highlighted
Tourist
11 0 2

Hi Shopify! 

I'm using PHP for my App, and I have a  problem with sessions when merchant uses Safari brwoser. Session doesn't save.
Is there any way to store sessions (cookies), so that my app will work properly? 

 

Thanks!
Alex

0 Likes
Shopify Staff
Shopify Staff
299 32 59

Hey there,

 

You now need to use the Storage Access API which is provided by Apple in order to manage cookies. 

 

I would recommend reading their blog post which outlines the recommended approach for cookie handling with ITP 2.1.

0 Likes
Tourist
11 0 2

Thanks for response, 


Can I use Storage Access API in PHP? 
Should I use this documentation ? https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API


Thanks

0 Likes