Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

what is the filepath for storing cookies

  • 5 replies
  • 4 have this problem
  • 156 views
  • Last reply by drowningman

more options

On my computer I have WinPatrol installed and at the close of every browsing session I used to make use of it's "view cookies" function to delete them. Recently I had reason to refresh FireFox and since then the view cookies function in WinPatrol no longer works. According to WinPatrol this is because the "filepath" to where cookies are stored has been deleted. Unfortunately I have no idea what the filepath is or how to restore it. If anybody out there could tell me what it is and how to restore it I should be eternally grateful. And yes, I do know that I am an idiot and should not be allowed near a computer that's why I'm asking for help. Thanks.

On my computer I have WinPatrol installed and at the close of every browsing session I used to make use of it's "view cookies" function to delete them. Recently I had reason to refresh FireFox and since then the view cookies function in WinPatrol no longer works. According to WinPatrol this is because the "filepath" to where cookies are stored has been deleted. Unfortunately I have no idea what the filepath is or how to restore it. If anybody out there could tell me what it is and how to restore it I should be eternally grateful. And yes, I do know that I am an idiot and should not be allowed near a computer that's why I'm asking for help. Thanks.

Chosen solution

You can let the cookies expire when Firefox is closed to make them session cookies.

  • Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: Keep until: "I close Firefox"

Create a cookie 'allow' exception for cookies that you want to keep.

  • Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: Exceptions
Read this answer in context 👍 1

All Replies (5)

more options

Cookies are stored in your Firefox profile as cookies.sqlite and other associated files.

To locate your Firefox profile, please refer to this Mozilla support article:

more options

Thank you for your reply, it is appreciated. I know that the cookies are stored as cookies.sqlite, what I don't know is the "filepath"(?) to tell WinPatrol how to look for them there. Whet the heck is a "filepath" anyway?

more options

The filepath is how to program finds the folder containing the file.

For example, if you are looking for an address in Toronto, Canada, you would first look in the Canada folder, then move to the Ontario folder and the address would be in the Toronto folder.

I have never used WinPatrol, but I would assume that you would give it the file path to your profile folder. If you open the profile folder, via the steps in my previous link, simply copy the filepath in the address bar on the Windows explorer.


Just out of curiosity, are you using WinPatrol to delete all cookies when you close Firefox? If you are interested, Firefox has a builtin feature that does this without a third party program required.

If you want to do this, the setting can be located in the Options dialog, under the Privacy tab. It can be located if you select to use custom history settings.

If you need more information, please let me know and I will explain better.

more options

Chosen Solution

You can let the cookies expire when Firefox is closed to make them session cookies.

  • Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: Keep until: "I close Firefox"

Create a cookie 'allow' exception for cookies that you want to keep.

  • Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: Exceptions
more options

Thank you, I really appreciate your help.