On 08/30/2011 05:46 PM, dougallen wrote:
>
> Well, I’ve executed a few variations and here is what I found.
>
> 1. Ran Firefox version 5 with accumulated cookies. All was well.
> Preferences are retained for some example sites that use cookies (Met
> Office - to hold several locations of interest, BBC - to hold location
> for local news, Bank - to allow selection of user going to login next).
>
> 2. Updated Firefox to version 6. All existing cookies were lost. New
> cookies could be set for sites visited. This would be a long winded
> process to recreate all missing cookies. I checked the permissions of
> the cookies.sqlite file both before and after. There were no
> differences.
>
> 3. I reverted to Firefox version 5, installed the add-on Cookie
> Exporter 1.5, and exported all cookies to a text file in the Desktop
> folder. I then upgraded Firefox to version 6 and checked that cookies
> were not working. I deleted all existing cookies using the Preferences,
> Privacy route (rather than just deleting cookies.sqlite). After
> installing the Cookie Importer 1.1 add-on, I imported the cookies text
> file from the Desktop folder. All sites now worked. Everything was
> normal. Even after several restarts, everything was still normal.
>
> 4. Just to get extra reassurance, I overwrote the cookies.sqlite file
> with the original from the version 5 backup and started Firefox 6 again.
> All cookies were lost. I then deleted all cookies (some new ones had
> been created from sites I tested with) and imported from the
> cookies.text file. Everything went back to normal.
>
> So, I’m not sure what is causing this behaviour, but it seems that the
> automatic upgrade causes existing cookies to be lost but new ones to be
> retained properly. The use of Cookie exporter and importer seems a
> shortcut way of getting existing cookies to be accepted by Firefox as
> new ones, without having to visit each site and go through the
> appropriate processes.
>
> It is not a simple file permission issue, it appears, but I know that
> some work has gone on in Firefox in its permissions area. Maybe the
> result, possibly on security grounds, is that existing cookies are seen
> as a risk and deleted, whilst new ones (and I include imported ones in
> this category) have gone through the revised Firefox 6 process and are
> accepted. Just conjecture, I know, but food for thought maybe.
>
> So, for those people who, like me, are aghast at the thought of losing
> lots of useful accumulated cookies, the export and import trick seems to
> offer a way forward for the Firefox 6 upgrade.
>
> I look forward to further reactions and comments from people with
> probably more knowledge of this area than me.
>
> Doug
>
>
what i did:
running FF5
-backed up FF5 ~/.mozilla/firefox/[random].default/cookies.sqlite
-installed Cookie Exporter/Importer
-restarted FF5
-ran Cookie Exporter
-shut down FF5
-installed FF6 using YaST Online Updater
-backed up FF6 ~/.mozilla/firefox/[random].default/cookies.sqlite
-used kdiff3 to compare FF5 vs FF& cookies.sqlite, and find they are
different in several binary strings…but exactly the same size…
launched FF6
-found two new files
~/.mozilla/firefox/[random].default/cookies.sqlite-shm
~/.mozilla/firefox/[random].default/cookies.sqlite-wal
-read Release Notes and found nothing about cookie handling changes
-went to Google Calendar and find i am still signed in
-went to Facebook and find i am still logged in
-went to the New York Times and it still knows me
-went to several other sites requiring cookies from past visits (and
past log ins) and they all recognized me and worked as expected
so far, i find no problems introduced by the changed sqlite format or
added files…
ymmv
–
DD Software
openSUSE®, the “German Engineered Automobile” of operating systems!