Cookies: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(Re-arranged words for clarity.)
No edit summary
Line 1: Line 1:
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]].
==What are cookies==
Cookies are delicious delicacies. HTTP cookies [[wikipedia:HTTP_cookie | are explained in Wikipedia]].
 
==Where are cookies stored==
Cookies are stored in two files: <tt>cookies.txt</tt> and <tt>hostperm.1</tt> (older versions used <tt>cookperm.txt</tt> instead of <tt>hostperm.1</tt>). Both of these files are located in your [[profile folder]].


{| border="1" cellpadding="5" rules="all"
{| border="1" cellpadding="5" rules="all"
Line 6: Line 10:
|valign="top"| <code>cookies.txt</code> || Holds all of your cookies, including login information, session data, and preferences.
|valign="top"| <code>cookies.txt</code> || Holds all of your cookies, including login information, session data, and preferences.
|-
|-
|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.
|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, to open popup windows and to initiate extensions installation.
|-  
|-  
|}
|}


==Why can't Firefox use Internet Explorer's cookies?==
==Importing 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.
You can import your [[Firefox : Tips : Import Cookies From IE to Firefox | Internet Explorer cookies into Firefox]].
 
However, you can still import your [[Firefox : Tips : Import Cookies From IE to Firefox|Internet Explorer cookies into Firefox]].

Revision as of 03:59, 27 February 2005

What are cookies

Cookies are delicious delicacies. HTTP cookies are explained in Wikipedia.

Where are cookies stored

Cookies are stored in two files: cookies.txt and hostperm.1 (older versions used cookperm.txt instead of hostperm.1). Both of these files are located 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, to open popup windows and to initiate extensions installation.

Importing Internet Explorer's cookies

You can import your Internet Explorer cookies into Firefox.