I am trying to manually delete the cookies for Safari on Mac OSX Yosemite 10.10.3.
I have done this with Chrome and FireFox before (you simply locate their cookie files and delete them). But I seem to fail when trying to do it with Safari.
My understanding is that Safari's cookie files are in
/Users/me/Library/Cookies
There are at least four files there:
HSTS.plist
com.apple.appstore.cookies
com.apple.ibooks.cookies
Cookies.binarycookies
I have closed Safari and emptied the folder. However, it doesn't seem to have worked because when I visit a website that uses cookies for user authentication, I am still logged in (which does not happen when I do it with Chrome or FireFox).
Best Answer
I don't understand the full interplay, but rebooting will fix cookie retention [presumably held in cache] - that is separate from login details remembered by Keychain & also Form Values etc.
If you really want a clean sweep, try OnyX (free/donationware) > Cleaning > Internet - choose what you need to delete from there…
Safari has its own simpler version, though I'm not certain quite what it does delete…