Backup and restore cookies in Firefox

1

Possible Duplicate:
Where are cookies of Firefox stored in windows?

How would I go about backing up and restoring cookie files for Firefox on an Windows XP install (EDIT: within a batch script)?

I have a maintenance script that runs, and there are select users that save passwords into their browser for auto-logins. I would like to delete all of the other cookie entries from the list, then backup the remaining cookies, and have that file restored everytime the maintenance is ran.

If I understand correctly, Firefox puts its cookies into an SQLITE database?

Mechaflash

Posted 2011-09-01T16:54:37.557

Reputation: 1 226

Question was closed 2011-09-02T12:33:31.777

Answers

0

Check the url which is for recovering corrupted firefox cookies. However, with a little or no modification you can use that to create the backup of cookies and restore the same.

SparX

Posted 2011-09-01T16:54:37.557

Reputation: 101

I would, except the URL doesn't load =( – Mechaflash – 2011-09-01T19:54:02.053

Are you referring to the link I mentioned? I can still load it without any trouble. May be it is only you, try some proxy like kroxy.net . – SparX – 2011-09-01T19:58:56.583

could be our network filter running its magic on that url =/ . I'll check it out at home later. – Mechaflash – 2011-09-01T20:06:45.667

@sparx.me This is why we don't like 'link only' answers here on SU, in case the link dies/doesn't work in the future. Perhaps consider editing you answer and including an extraction of the pertinent info from the link you are providing. – Ƭᴇcʜιᴇ007 – 2011-09-01T20:38:13.260

Thank you for the note techie007. However, I really hesitate to copy paste the whole answer from an external link. Thats why I added the link directly instead. – SparX – 2011-09-01T21:25:03.820