Safari losing your cookies?
Since upgrading to Leopard (and thus upgrading to the newest version of Safari), I’ve had the unfortunate problem of Safari throwing all my cookies right out the window.
Every 4-6 weeks I’d fire up Safari only to realize that all logins to various sites were lost, making me either go through each site’s password-retrieval system or try to dig through Wallet to try and find it.
The bug doesn’t seem to have a real “fix” but there is something you can do to solve the problem easily each time it happens (assuming you use Time Machine).
- If you’re currently running Safari, be sure to quit before proceeding.
- In Finder, navigate to
~/Library/Cookies. There will most likely only be one file in the folder, which is namedCookies.plist. - With that Finder window open, launch Time Machine and go “back in time” to the last time you used Safari and had functioning cookies. Select the
Cookies.plistfile and Restore it. - Once the file has been restored, relaunch Safari and your previous, working set of cookies should now be functional.
Each time this happens, be sure to submit the bug to Apple by going to the Safari menu and clicking on “Report Bugs to Apple…”. They read them and the more people send in about bugs, the sooner those bugs will get fixed.

Trackbacks/Pingbacks (Trackback URL)
Comments RSSComments

#1 name says:this has been reported by the developers of now, it seems, dead company by the name Unsanity on November 11th, 2007
http://www.unsanity.org

#2 Ronald Heft says:Great advice. This bug has been annoying the hell at me, and I finally have a temporary solution. Hopefully this will be fixed in 10.5.2.

#3 jer says:Another thing to check, as it got me a couple of times, is if you are running off of “safe preferences.” Safari and other apps now have a feature (don’t know when it was introduced) that when they crash and you tell it to ignore/restart the app enough times (a few?) it will eventually assume that something is wrong with the prefs and work from the “Safe Preferences” folder.
When Safari crashes now I cancel the report/ignore dialog and relaunch by hand. Haven’t seen it use safe preferences yet.
The hidden nature of this safe preference switch-over is a bit annoying. I’d think a better approach would be to offer a new button or dialog spelling out the option to “use safe preferences.”
Leave a reply