Device-Bugs icon indicating copy to clipboard operation
Device-Bugs copied to clipboard

[unconfirmed] iOS Setting a cookie in unvisited iframe = no dice

Open remy opened this issue 13 years ago • 1 comments

I was told this in a pub and made a note of it, but apparently if you try to set a cookie from an iframe on a url that's not been visited on iOS, the cookie will not be set.

There's no errors or notices, it's simply not set.

Obviously the solution is to switch to local or session storage, but funky either way.

As it's unconfirmed, I can't say which version of iOS - but it was a recent conversation, so I think it's fair to say iOS 5 at least contains this problem (if indeed is passes this test).

remy avatar Mar 23 '12 17:03 remy

Sounds like it could be related to Safari's 3rd party cookie blocking feature.

hober avatar Aug 27 '12 23:08 hober