Questions and discussions about using the Shopify CLI and Shopify-built libraries.
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
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.
To learn more visit the Shopify Help Center or the Community Blog.
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