Answer the question
In order to leave comments, you need to log in
How to make localstorage, cookies cross-domain in Safari?
Hello. The problem looks like this: the user moves from one site to another (completely different domains). But there is a need to get information about this user: the ID of the goods that he put in the basket.
The solution that we have now is this: we save the data in localstorage, open an iFrame in parallel, and add the same data to the second domain in it. And everything would be fine, but here's the problem: in Safari on iOS, by default, there is an add-on: "Do not accept data from previously unvisited sites." Because of it, he completely refuses to set variables in localstorage. Everything is absolutely the same with cookies :(
Your ideas, gentlemen experts?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question