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

Apr 17, 2018 9:33 PM in response to annabelle

Thanks for the information. It seems that it's fIxed some, and not for others. I have iPhone 6 and 7, they both have this issue. I just decided tonight to switch over to Firefox, and file away Safari.


The number of 0 Kb and 68 Kb cookies are growing. I can remove the 68 Kb ones with some work, but it's not the effort anymore. These cookies show up and persist even though I believe I have the settings to prevent them; and some are from sites that I've never visited.

Mar 31, 2017 5:39 AM in response to DontFailMeApple

tugb, thank you for the information on blocking cookies.


The issue is that cookies are not removing when I try to delete, and when block cookies is set, cookies still get stored with a file size of 0.


Subsequent to my posting, I figured something out. There were approximately 20 that were persistent, with a files size of 0, after I deleted cookies. The other cookies were being deleted.


My resolution was to turn cookies back on, visit on of the ~20, then manually remove the cookie will the file size of > 0. I visited all sites with the persistent cookie and followed the same steps.


I have yet to figure out why cookies are still being stored with block cookies set. However, at least they can be deleted without having to follow the steps noted above for persistent cookies.

Mar 31, 2017 7:34 AM in response to DontFailMeApple

You wrote : I have yet to figure out why cookies are still being stored with block cookies set. However, at least they can be deleted without having to follow the steps noted above for persistent cookies.


You mean to say some cookies are still shown inspite you check the box of block cookies , some websites need cookies to work properly .

If you are doing a normal browsing in a Mac or I phone cookies is required to work the site properly .


I ' ll give you an example , opened safari > its preferences > privacy > click on manage website data .

User uploaded file

A window appears :

User uploaded file

Right now I am signed in ASC through my Mac , if I click on remove all and click on done my computer will be logged out , means some cookies are required to browse the website .

Jul 19, 2017 3:05 PM in response to IdrisSeabright

No sir, just upgraded to ios 10.3.3 on iPhone 7 and this has not been resolved.


The screenshot attached shows the result of :

1. Going to settings: Safari and selecting "clear history and website data"

2. Selecting Advanced > Website Data > Remove all website data

3. Returning to the screen to see they are not cleared and then Individually swiping and deleting each cookie/cache/lso

4. Returning to the Advanced > Website Data screen to see the same durn cookies/caches


So, they emphatically do not get cleared. They might seem like they do as part of smoke-and-mirror UI/UX choices. They do not clear or they regenerate immediately.


In particular, the identity.com seems to be of nefarious purpose in terms of tracking.


The workaround is only partial - disable Safari entirely on your phone via restrictions. Then curse loudly every time you must use Safari for some reason baked into iOS, which will not use your preferred browser.


User uploaded file

Apr 14, 2017 5:01 PM in response to nyconsult410

OK then, I can suggest to turn OFF Airplane Mode: Use Airplane Mode on your iPhone, iPad, iPod touch, and Apple Watch - Apple Support so to apply the previous steps mentioned above and force a restart: Restart your iPhone, iPad, or iPod touch - Apple Support then then turn ON Airplane Mode check if all is set?, or else a Genius Reservation when your issue is unresolved: https://www.apple.com/ca/retail/geniusbar/ .Good Day 🙂

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

To view a website , cookies are required and saved in the data bases .

Enter into user library > macOS Sierra: Library folder

In safari folder some use a method find a folder Safari > in that Data bases , local storage folders are found and delete the contents of this two folders into the trash , restart and empty the trash .


But once again you browse that website or any the cookies will once again stored but this a temporarily , I prefer deleting entire safari contents apart from Bookmarks.plist into the trash .

But it doesn't mean that cookies will stop saving , they will have to save .


But this a behaviour of safari , cookies are meant to be saved and they will be always saved . Clear all history and website data is used .


Thats , why some users are using private browsing as for every day use they don't have to delete cookies , because cookies are never saved in private browsing .

An Article : Safari for Mac: Use Private Browsing windows in Safari

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.