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


Click here to return to the 'Avoid a cookie bug in Safari's reset feature' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Avoid a cookie bug in Safari's reset feature
Authored by: hartshorne on Jun 03, '04 09:33:42AM

I ran into this problem a few months ago while I was building a web site that used cookies. I tried hitting "Remove All", and then running cat Cookies.plist in a shell window immediately afterwards. Cookies.plist was still full. Several seconds later (and without returning to Safari), I ran the cat command again. This time the Cookies.plist file was empty (except for the XML skeleton).

If you wait several seconds before quitting Safari, Safari seems to empty the Cookies.plist file. If instead you quit right away, Safari does not seem to empty the Cookies.plist file. I submitted this to Apple when I first noticed this behavior, but I doubt they'd consider it a priority to change or fix.



[ Reply to This | # ]