Summary
Out of interest, a while to do a Web page, Web pages need to use cookies, but, according to the instructions in the book, and did not find the location of the cookie mentioned in the textbook, this article mainly introduces the location of the cookie in the computer (Win7), The same applies to other Windows systems .
What is a cookieCookie technology comes from the rapid development of HTTP protocol on the Internet. With the deep development of the Internet, bandwidth and other restrictions do not exist, people need more complex internet interaction activities, you must maintain active status with the server. Therefore, in the early stage of the browser development, in order to adapt to the needs of users, technology has introduced a variety of web browsing to maintain the state of the means, including the Cookie technology. In 1993, Netscape employee Lou Montulli invented the widely used Cookie today in order to allow users to further improve their access to a website and to further implement a personalized network.
cookies can be translated as "small desserts, cookies", which are almost ubiquitous in web systems, and may appear in Web pages when we browse previously visited websites: Hello x x x, which makes us feel very friendly, as if we had eaten a small dessert. This is actually done by accessing a file in the host, which is a Cookie. In the Internet, a Cookie actually refers to a small amount of information, created by a WEB server, that stores information on a user's computer. In general, web users are accustomed to using their plural forms of Cookies, which are data stored on the user's local terminal for the purpose of identifying and tracking user identities, which are usually encrypted.
A cookie is a text file stored in a browser directory in a computer, which is stored in RAM when the browser is running (this cookie is called a Sion cookie), and once the user exits from the site or server, the cookie can be stored on the user's local hard drive (This type of cookie is called a persistent cookie).
Typically, when a user ends a browser reply, the system terminates all cookies. When the Web server has created cookies, as long as the user accesses the same Web server during its validity period, the browser first checks the local cookies and sends them as-is to the Web server. This status information is referred to as the "Persistent client state HTTP cookie", which is referred to as a cookie.
preparatory work
in most computers (can say all-.) -), the system defaults to the system's important files and hidden files are not displayed, mainly to prevent the unknown truth of the general user improper operation, modify the system of important files, causing the system to run error. Cookies are important files for storing user information. Therefore, to find a cookie, you first need to close the hidden options for the system file, as follows:
1. Turn on my computer;
2. Find the "Tools" option in the menu bar;
3. Select "Folder Options";
4. Select the "View" tab;
5. Before the "Hide protected operating system files (recommended)" Check is removed;
6. In the "Show hidden files, folders and drives" This radio button is removed;
7. Click Apply.
After performing the above operation can see the system's files:), we go to look at it!
Search for Cookies
In Windows7, the directory where the cookie is stored is: C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Cookies.
Some people say that you do not have the users directory, it is because you are using the Chinese version of windows-. -so that's it, C: \ user \admin\appdata\roaming\microsoft\windows\cookies.
Let's take a look:
These are the cookie files in the computer, because the cookie is encoded by the website, so the general user can not obtain any key information.
In addition, the current website does not have access to other Web site cookies, so do not worry about the user browsing other pages will reveal what personal information, can be transmitted on the computer cookie information, can only download the virus files, so download things to be careful oh!
So what if the user is still not at ease? Major browsers also provide the option to turn off cookies, which is the Internet option for Windows that are called by major browsers, and I use the QQ browser as an example:
In Tools, select Internet Options:
on the Privacy tab, in the Settings column, set the Internet settings to "Block All Cookies" :
So you can have no worries (^. ^
How to find a cookie on Windows7 (pro-Test 100% can be found)