Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Delete Safari cookies so they stay deleted' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Delete Safari cookies so they stay deleted
Authored by: RedFred on Oct 19, '09 02:24:39PM

One thing most people don't realize is that cookies (the Cookies.plist file) are shared amongst all applications that use the NSURL class. This means that other applications can write a cookie and Safari will see it when it starts up. This is the reason the cookie keeps reappearing after deletion even if you have your Safari preference set to never accept cookies. This cookie gets set by a helper program that maintains the Safebrowsing database. Also, as has been pointed out, Safari keeps an internal copy of cookies which it periodically syncs back out to the Cookies.plist in your library. One side affect of this is that if you delete the Cookies.plist while Safari is open, when Safari next syncs it internal copy back to the cookie file, cookies you thought were deleted reappear.

One other technical problem is that Safari doesn't use the built in API's to post a notice in the NSHTTPCookieStorage class when it changes cookies so other programs can be aware of them.

Cookie management and handling is one of Safari's biggest weaknesses as far as I'm concerned.

[ # ]