7 Comments

Summary:

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, […]

Safari

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).

  1. If you’re currently running Safari, be sure to quit before proceeding.
  2. In Finder, navigate to ~/Library/Cookies. There will most likely only be one file in the folder, which is named Cookies.plist.
  3. 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.plist file and Restore it.
  4. 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.

  1. 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

    Share
  2. 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.

    Share
  3. [...] pero la de algunas páginas que por alguna razón provoca el extraño comportamiento. La gente de theappleblog nos sugiere esta medida, que aunque no me parece muy limpia, parchea la cosa hasta que Apple se [...]

    Share
  4. 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.”

    Share
  5. [...] three operating system updates, the vanishing cookie bug [...]

    Share
  6. Just saw this thread. It’s Oct. 10 2008 and I had Safari stop keeping cookies, esp. log-ins and passwords about a week or so ago. I remember allowing an Apple update about then. It bugs the hell out of me having to re-log each time I visit sites that use a name/pass. I’m on 10.4.11 and Safari 3.1.2 (4525.22). What is up?!! How do I remedy? Thanks!

    Share
  7. WTF! My cookies are all working now. They were cleared out but once I log-in now they’re retained. Freaky.

    Share

Comments have been disabled for this post