Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Seems like Safari 5 would store cookies in ~/Library/Cookies/Cookies.plist - but cookies will remain present in Safari even after exiting Safari, removing this file, and then restarting Safari.

Where does Safari 6 store cookies?

chocolate-cookies-07 1.jpg

edit: corrected the path - Libraries (plural) was a typo.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

The file ~/Library/Cookies/Cookies.plist (note that it's Library, not Libraries) does not exist with Safari 6, and I'm pretty sure Safari 5.1 didn't use it anymore either.

Safari stores Cookies in ~/Library/Cookies/Cookies.binarycookies now, which is no longer a plain text Preference List file, but a binary file from the NSHTTPCookieStorage class that is not human-readable.

If you want to decipher it and learn more about the file format, take a look at this Stack Overflow answer.

share|improve this answer
    
I still wonder why this file doesn't show up in fseventer when accessing websites. –  slhck Sep 14 '12 at 20:16
    
It's shown by fseventer for me when for example refreshing this page, but it takes a few seconds. –  Lri Sep 14 '12 at 21:38
    
I did see it in sudo fs_events with grep -i cookie, however I tried deleting this file (before asking the question) but it seems like it did not "clear the cookies" for Safari 6. Thoughts? –  cwd Sep 14 '12 at 22:24
    
Should have mentioned what you've tried in your question. I'm pretty sure Safari stores the application state somewhere else as well @cwd – is your actual question how to delete cookies from the file system? If so, it'd be helpful to ask exactly that. –  slhck Sep 15 '12 at 6:28
    
hmm, yes i should have. thanks! superuser.com/questions/376194/… –  cwd Sep 15 '12 at 11:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.