Cookies: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(Re-arranged words for clarity.)
Line 1: Line 1:
Cookies are stored in two files, they are cookies.txt and cookperm.txt. These two files are in your [[Profile Folder | profile]].
Firefox stores cookies in two files, <code>cookies.txt</code> and <code>cookperm.txt</code> (called <code>hostperm.1</code> in newer versions of Firefox). Both of these files are in your [[Profile Folder|profile folder]].


{| border="1" cellpadding="5" rules="all"
{| border="1" cellpadding="5" rules="all"
! File !! Description
! File !! Description
|-
|-
|valign="top"| cookies.txt || This is where all of your cookies are stored.  This includes login information, session data, preferences, and things of that nature.
|valign="top"| <code>cookies.txt</code> || Holds all of your cookies, including login information, session data, and preferences.
|-
|-
|valign="top"| cookperm.txt or hostperm.1 || This is where all of your preferences are stored as far as what sites are allowed to set cookies and which ones aren't, as well as which domains can display images, and which sites can display popups.
|valign="top"| <code>cookperm.txt</code><br><code>hostperm.1</code> || Holds preferences about which sites you allow or prohibit to set cookies, to display images, and to create popup windows.
|-  
|-  
|}
|}


===Why can't Firefox use IE's cookies?===
==Why can't Firefox use Internet Explorer's cookies?==
Firefox stores cookies in a file where as IE stores each cookie as separate files in the Cookies folder. This would require code to be writen to read and write IE cookies. However, you can import your cookies [[Firefox : Tips : Import Cookies From IE to Firefox | from IE to Firefox]].
Firefox stores all cookies in one single, flat file; Internet Explorer stores each cookie in a separate file in the cookies folder. Basic Firefox lacks the code to parse IE's data structure.
 
However, you can still import your [[Firefox : Tips : Import Cookies From IE to Firefox|Internet Explorer cookies into Firefox]].

Revision as of 04:46, 7 February 2005

Firefox stores cookies in two files, cookies.txt and cookperm.txt (called hostperm.1 in newer versions of Firefox). Both of these files are in your profile folder.

File Description
cookies.txt Holds all of your cookies, including login information, session data, and preferences.
cookperm.txt
hostperm.1
Holds preferences about which sites you allow or prohibit to set cookies, to display images, and to create popup windows.

Why can't Firefox use Internet Explorer's cookies?

Firefox stores all cookies in one single, flat file; Internet Explorer stores each cookie in a separate file in the cookies folder. Basic Firefox lacks the code to parse IE's data structure.

However, you can still import your Internet Explorer cookies into Firefox.