iOS 10.3 Safari cookies won't delete

Is anyone having any issues with cookies in 10.3 Safari? Cookies don't seem to delete when I try to remove them using all the delete methods. Additionally, when I block cookies, cookies still get stored.


May be cookies settings have changed and I need to change something. Does anyone know?

iPhone 6s

Posted on Mar 30, 2017 4:40 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 27, 2017 12:59 PM

I've had the same issue with being unable to delete a number of "0 Bytes" cookies on my iPad for a while, but recently an eBay.co.uk cookie of 508KB size began to exhibit the same behaviour - at which point I "snapped", enough is enough! I found a solution, however it's a little long-winded and requires a Mac:


  1. Connect the iOS device to a Mac and create a backup using iTunes
  2. Open the backup using an explorer/editor tool such as iBackupBot (I was a little dubious about using this at first, but it was signed by a registered developer and did not require installation nor did it ask for a password input at any stage, so pretty safe)
  3. Navigate to the folder "User App Files > com.apple.mobilesafari > Library > Webkit > Website Data"
  4. Delete all files and folders in the enclosed IndexedDB folder - this is where the 508KB of eBay data seemed to be
  5. Delete all files and folders in the enclosed WebSQL folder - where all the other "0 Bytes" cookies are stored. I was amazed there were even cookies in here which didn't show up in the Website Data view in Settings. Mine had a whole trove of cookies from argos.co.uk, ebay.co.uk, and uk.farnell.com amongst others.
  6. Restore the backup to your iOS device using iTunes


This was sucessful for me on both my iPad Pro and iPhone SE - both on iOS 10.3.3. I can't confirm if it will work for iOS 11 devices, but from what I've read many people have found the cookie problem to be fixed in 11.1.2.

202 replies

May 10, 2017 12:28 PM in response to DontFailMeApple

Same problem here on three iPads, including a new 2017 I recently bought. Tried all of the suggestions here to no avail. Contacted Apple support and found out I'm basically stuck with it. They are aware of the issue and a senior tech even easily duplicated the issue on his end. After consulting several other senior level techs, he advised me that they are already aware of the issue based on numerous other users reporting it. Apple doesn't consider it a glitch and calls it "expected behavior". He suggested I completely reset my iPad to delete the zombie cookies already there and use private browsing mode from here on to prevent new zombie cookies. I tried that method for a day and decided to move on from this tablet. Thank goodness I'm not yet into week two of a 30-day return period. Prior to buying this iPad, my eighth, I was strongly contemplating the Galaxy Tab S3. I was very tempted to try it out. The fact that I still have three of the prior seven iPads to fall back on if I dislike it really pushed me toward the S3. However, I played it safe and decided on another iPad. The lower price also affected my decision. Now it appears the decision just settled itself. Between this and calendar widgets not working, I'm tired of "settling" with Apple, even at a lower price. I really miss the good old days where stuff like this wasn't so common.

May 17, 2017 2:43 AM in response to DontFailMeApple

Just updated my IPad Mini 4 and IPhone 6s and can see that the 10.3.2 has resolved the issue on my iPhone, but not my iPad.


The funny thing is if I go into websites with rogue cookies on my iPhone now they are deleting as you would expect to see when clearing history.


This makes me think this is an apple issue and not the websites we are visiting.

May 28, 2017 6:58 AM in response to LollyDitt

LollyDitt wrote:


I'm on a iMac computer and also use safari. Recently I can't remove all stored data either!! Also my computer has slowed down!! So do I have a bug? I'm thinking of getting rid of all computers & devices and going back to pen, paper & books. Life was less complicated and I was healthier before!!

You should post this in the appropriate Mac forum. iPhones and Macs use very different operating systems and troubleshooting for each is quite different.

May 28, 2017 7:48 AM in response to LollyDitt

Funny how every year about this time there are issues with iOS and devices? Just before a new product release or new iOS release ? I have an iPad Pro which last year was amazing, no need for a computer fastest ever and any other hyperbole you can remember, now less than a year later it's slowing up has issues with iOS, iMessage sometimes doesn't work etc etc, are we then to believe that my awesome iPad has lasted less than a year??? Or is there some credence to the conspiracy that apple puts things in the source code to affect the performance of older devices? Whatever it is they've lost me this year and I assume a few others, I had a oneplus one a few years ago but came back now I wish I never had so back to oneplus this year I think and also find an alternative to my iPad, a small drop in the ocean for them but better for me

May 30, 2017 10:59 AM in response to yepz

Ok no need to change to private browsing as per your choice 😁 , use always block cookies in safari preferences .

But you cannot stop completely the storage of cookies .

Me use deleting entire contents of cookies folder from user library in my Mac , restart and emptying the trash , others not sure but that runs my system smoothly .

May 30, 2017 11:24 PM in response to tygb

I don't think you understand what people are actually complaining about. Everyone knows the purpose of cookies. The issue isn't that they are stored or come back every time you visit a website. The issue is that they can't be removed at all, no matter what you do.

On the iPhone, the cookies are basically locked. Most of the cookies will read 'zero bytes.' It's an issue with Safari that Apple can't fix or doesn't care to fix.

May 31, 2017 1:36 AM in response to Username Is Unavailable

Why are cookies stored : if we browse a website the path is stored in caches and cookies folder of user library .


And if we enter into user library > safari folder > Local Storage here data of the system is saved , and in Databases > various links information is stored .


An example : To understand if we frequently visit same restaurant , the manager or steward remembers about us , and in the same way if we view websites the path is remembered that is saved in caches and cookies folder of user library .

May 31, 2017 6:00 AM in response to Username Is Unavailable

I disagree, it is at least in part Apple's fault. We sacrifice a fair bit of control because of Apple's closed iOS. At the end of the day the cookies are only pieces of data. Within the realms of the phone iOS there is absolutely no reason why that data cannot be deleted.

I'm not saying the data won't be written back if you visit that site again, but at the point Safari is closed and you request the data deleted it should actually be deleted.

If sites are using tricks to make this data persistent then Apple is a multi-billion dollar company that could easily rectify the issue, but at this time it would seem they simply choose not to.

Unfortunately despite being a potential privacy issue the problem seems very low down on Apple's to-do list as there have been multiple updates all of which have failed to address the issue.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iOS 10.3 Safari cookies won't delete

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.