How to Find, View, Edit and Delete your Cookies

Print this page

Finding your Cookies
Cookies appear in two basic forms; as individual files or, as records within one contiguous file. Often however, there are multiple sets, the result of multiple browsers being installed in differing locations. In many cases, it is the forgotten cookies that contain the revealing information that you would prefer that others not see.

Where are my cookies?
Often cookies are not where we expect them, the result of evaluating new browsers or other activities when you chose not to install over the browser currently in use. Hard drives have gotten so large, that it is not practical to browse for cookies. It is also entirely possible that your cookies are not on your C: drive. They do not even have to be in the directory/subdirectory (folder) where the browser is installed.

By default all browsers, that I have seen which support cookies, install them in a folder under the folder where the browser is installed. However, this can be overridden at the time of installation or subsequently. When space becomes a problem on the C: drive, many move items from their C: drive to another drive to ensure smooth operation of their system.

The one reliable fashion to find all cookie files on a given PC is to use the Find command and search all drives on the system for "cookie". You may find a few other documents, but you should locate all of your cookie files and folders.

Yes, there are both files and folders by the name of cookie. Netscape writes a single file by the name of "cookies.txt" whereas Microsoft Explorer creates a folder labeled "cookies" and then creates individual files for each cookie.

Viewing, Editing and Deleting your Cookies

Cookie files are ordinary text files. Therefore, virtually any viewer or text editor that you have can be used to display and edit them. Since they are "ordinary" files, they can also be deleted.

Viewing
Because cookie files are ordinary text files, you can browse them with virtually all text editor or word processor programs. Wordpad and Notepad immediately come to mind. From DOS, you can use the Edit command. All versions of Corel Word Perfect and Microsoft Word, as well as most other word processors, will accurately display these files. If you use any product that is an editor, to view your cookie files, be sure to exit without saving.

The caveats regarding editing these files ring loud, but are largely inaccurate. I frequently view my cookies, editing those that I choose to. To date, I have not suffered any consequences and the World Wide Web still stands. Because I allow all cookies, I often find cookies from Web sites that I do not recognize. Undoubtedly I was doing a search, stopped there for a moment, found nothing memorable and am unlikely to return. Obviously, there is no benefit to me for such a cookie to tie up space on my hard drive. If you are using Netscape, this justifies removing that specific cookie from the cookies.txt file. If you are using Microsoft Explorer, this calls for a delete.

Editing
Some people prefer to use the Edit command from DOS because they cannot forget to save the file in proper format. Edit knows only the DOS text format. If you use any program that saves in other formats, but also in DOS text (e.g., Corel Word Perfect or Microsoft Word), be sure that when you save the file that you save it in the DOS text format. But that's old school.

The individual cookies within the cookies.txt file are clearly discernable. While the warnings at the top of the file are loud, I have been ignoring them since cookies have been on the horizon. When you see a cookie you do not like, delete it. Modifying cookies is more complicated. In many cases, it is impossible to decipher the content. When that is the case, which is most of the time, I make my decisions based on the URL at the beginning of the cookie and either leave it alone or delete the entire cookie.

When done, save the file, making sure that you save it as Text, DOS Text or whatever is the default. If you are not sure what your computer does, play it safe. Go to DOS and simply use the Edit command. It is straight forward and quite easy to use. If you do not like going to DOS, use Notepad. It also defaults to DOS Text files. If you have concerns regarding editing the cookies.txt file, make a copy with the name cookies.dup. Then edit the cookies.txt. If you are unhappy with the results, delete the cookies.txt file and rename the cookies.dup to cookies.txt. It is supposed to be kind of fun :)

Deleting
Netscape and Microsoft Explorer start fine without a cookies file. Both, on startup, immediately generate one if none is present. Thus, it is perfectly safe to delete any, or all cookies, if that is your preference. Should you take this path, you will not be able to take advantage of the features of cookies like being presented with the initial screen that you prefer or not having to enter an ID and password each time that you access a protected web site. That's the choice.

Once you know where your active cookie files are, you can place a delete command in any of several appropriate startup files and your cookie file will survive until the next startup of your PC, Windows or browser, or their shutdown. The preparation of such routines requires a higher than typical degree of skill and the specifics will not be discussed here. If your preference is to not have cookies, but do not enjoy the interrupts that your browser provides you when you do not allow it to automatically write all cookies, there are numerous products on the market to address this problem. Some of the products address other issues including cache content. The Cookies Links button below will give you the opportunity to identify some of these products.

Hiding
The process of hiding cookies when they are not in use and then making them available to your browser upon demand is not very productive. The solution is complex and your cookies are exposed while the browser is active. Thus, the solution is not effective as anyone aware, can start your browser, switch to any viewer and then view, print or copy those cookies. If the process that reveals your cookies to your browser is sufficiently sophisticated, it is possible to setup a process where the cookies would only be revealed to you yet, others could start the browser.

I do not know of a commercial product nor the effort to create one that would be justifiable to hide cookies. If you are still confused, look up the term "sticky content." Simply stated, there are great benefits to cookies, and I do not think you should be concerned about what your cookies might reveal. I would delete them on a regular basis, just as you change your passwords, and forget about it.

Thank you for your contribution, M Corby & Associates, Inc. - All Rights Reserved


Learn Online Jargon



Subscribe to Word of the Day - Email this Page to a Friend

Share this:
 
Advertisement