Clearing Safari website data does not delete everything - iPhone

One would expect "clear history & website data" from safari would do just that, but that's not always the case.


Often, in my case, there are persistent data that survive the "clear." Usually from Twitter or Facebook, but sometimes from random sites I've visited. I have the Twitter App installed, but not Facebook or other sites that keep showing up.


This doesn't clear them:

Settings>Safari>Clear History and Website Data


Neither does this:

Settings>Safari>Advanced>Website Data>Remove All Website Data


This does work:

Individually swiping left on the persisting data and selecting "delete"


This, IMO, is an unusual behavior since the first method SHOULD do this job.

Most people won't go to ...advanced>website data> to double check if the clearing worked.


I suspect these are similar to "databases" that remain in Desktop Safari and have to be manually removed from

user/library/safari/databases (I had to remove a homedepot.com data that would keep reappearing.)


So the Question: Is this a normal behavior? Does this happen to others?

iPhone 6 Plus, iOS 10.2.1

Posted on Mar 25, 2017 12:18 AM

Reply
194 replies

Dec 3, 2017 10:05 AM in response to ParhamS

FIXED!!!


Yesterday I updated my iPad and iPhone to iOS 11.2, and I have been testing it - I just have to "Clear History and Data" for Safari under Settings, and then when I subsequently go into the advanced setting, the web site data is all gone - even the 0 byte ones! I have restarted and it is still clear. It sure seems Apple has finally fixed this in iOS 11.2.


Try and post if it works for you!!!

Apr 21, 2017 2:46 PM in response to ParhamS

Hello,


I am having the same issue as others here, as some Website Data isn't deleting.


I have heard from another user (I have not tried this myself yet) that going to:

Settings > General > Reset > Reset All Settings, fixed it for them.


I would suggest that everyone experiencing this to leave a detailed report to Apple so they are aware of this. Include things such as when it started or ways you've tried to fix it. This will all help Apple understand what may be going on.


Here's the link:

iPhone Feedback - Apple

Sep 15, 2017 5:38 PM in response to Lawrence Finch

Lawrence, as Lady Engineer explains, the 0 byte cookies do provide some browsing activity information to third parties. The Safari cookie retention problem has been around since my first iPhone5 in 2012 and, perhaps, before. I have too great a respect for Apple's programming capability to even think Safari's cookie retention is a programming oversight over several versions of iOS. It is policy.


Cookies that reappear after being deleted are generically called zombie cookies - https://en.wikipedia.org/wiki/HTTP_cookie

"A zombie cookie is a cookie that is automatically recreated after being deleted. This is accomplished by storing the cookie's content in multiple locations, such as Flash Local shared object, HTML5 Web storage, and other client-side and even server-side locations. When the cookie's absence is detected, the cookie is recreated using the data stored in these locations."

Sep 26, 2017 3:09 AM in response to Lawrence Finch

Lawrence, I know of no app that associates with the cookies in the image in my post just above. My guess is that you, ParhamS and others in this thread now using iOS 11 will also find many cookies from sites you haven’t visited.


Close Safari, clear data using the Clear History and Website Data button, clear the residual ones manually, restart the phone, use Safari normally for a couple of days, then recheck Settings>Safari>Advanced>Website Data.


I’ll bet you will have accumulated pages of cookies, only some of which you will recognize from visited sites.

Sep 23, 2017 12:59 PM in response to cyberbiker

(Continued from above - This website got flaky and would not let me Send the edits)


When I then checked my cookies, several unrecognized entries, and some unvisited sites I did recognize, existed again.



The picture shows the new Safari privacy options.

Given them the choices Safari now gives us, it seems using content blocker apps may be the only solution to not leaving privacy up to the goodwill of others. Three that I’m testing are Adblock Plus, 1Blocker and iCareFone.

Oct 17, 2017 11:53 AM in response to ParhamS

If the data is displaying 0 bytes, I have had some success by (re)visting the websites in question, viewing a few pages, agreeing to the cookie policy, etc. Then going into settings and manually deleting the website data. This is far from a total fix, and doesn’t always work, but I have just removed 4 out of 5 of the cookies which have been lingering for the past couple of months using this method.

Nov 1, 2017 12:57 PM in response to SocW

HI SocW, the issue resided in iOS on iPhone + iPad. Thanks for the intel on the Mac side, may have to use it someday. Pretty sad when Apple has full control over their code and refuses to fix this issue, that has been pointed to over 2k times on this forum. I believe they have no intentions of fixing it due to the alleged privacy issues they inject into their software by design, possibly motivated by income? maybe.

Sep 23, 2017 12:45 PM in response to cyberbiker

(Continued from above - it was sent accidentally) Redbox, not Redbook.


When I then checked my cookies, several unrecognized entries, and some unvisited sites I did recognize, existed again.


Give them the privacy choices Safari now gives us, it seems using content blocking apps may be the only solution. Three that I’m testing are Adblock Plus, 1Blocker and iCareFone.


User uploaded file

Sep 24, 2017 1:55 PM in response to cdigrego

This cookie management MUST be intentional.


Not only Apple did not fix this behavior, they have removed the option to block third party cookies:


iOS 10 options:

Always Block

Allow from Current Website Only

Allow from Websites I visit

Always Allow


iOS 11 option

Always Block

Prevent Cross Tracking (the most advance technology blah blah)


I have a un-deletable "website data" from a dating chat site I have never visited.

This is all we see on the surface, iOS & MacOS accumulate so much junk in cache & database. Its absolutely bad for security and privacy.


If Apple wanted to fix this, they'd have it done by now.

Sep 26, 2017 1:56 PM in response to cyberbiker

The issue that started this thread still remains


Apple has changed cookie management options & reruced user choices instead of allowing to customize


The issue is, deleting website data does NOT delete all data. It leaves behind databases with website urls as headers often with zero size.


This is an unexpected behavior, a bug or a policy decision that comes across as a bug because bo one wants it.


This can become a privacy issue as well.

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.

Clearing Safari website data does not delete everything - iPhone

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