How to use iOS Safari localStorage and sessionStorage in Private Mode
“In short, you can’t, but you can set a cookie via JavaScript ? Safari on iOS supports localStorage, but in Private Mode it simply throws an error when you try to save anything to it, which is not great. Also it breaks the behaviour of your app on iPhones and iPads.”
read »