본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

I set it to delete cookies & data when firefox closes, yet it does not delete them. I have to always delete them manually. Why is that?

  • 4 답장
  • 1 이 문제를 만남
  • 3 보기
  • 최종 답변자: cor-el

more options

In Privacy and Security; I have selected Accept cookies and site data from websites. I have selected to keep them until Firefox is closed yet the cookies and site data remain the next time I start up Firefox. The only way I can get rid of them is to manually delete them. It would be nice if they would really be deleted when Firefox is closed. Why do you not allow this to happen?

In Privacy and Security; I have selected Accept cookies and site data from websites. I have selected to keep them until Firefox is closed yet the cookies and site data remain the next time I start up Firefox. The only way I can get rid of them is to manually delete them. It would be nice if they would really be deleted when Firefox is closed. Why do you not allow this to happen?

모든 댓글 (4)

more options

Could you clarify your settings? I think you have:

Cookies

Keep until: Firefox is closed

With this setting, unless a site has individual permission to set persistent cookies, all new cookies should be set to expire at the end of the session.

There is a way to get those cookies back: restoring your previous session will resurrect the cookies for pages in the session history file. If you don't want Firefox to store session cookies in the session history file, you can change a setting:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste sess and pause while the list is filtered

(3) Double-click the browser.sessionstore.privacy_level preference to display a dialog where you can enter the desired value:

  • 0 = save cookies/data for HTTP and HTTPS sites (default)
  • 1 = save cookies/data for HTTP sites, but not HTTPS sites
  • 2 = don't save cookies/data
more options

That is precisely what I did... accept cookies and site data from websites and delete them when Firefox closes. Indeed, as you said " all new cookies should be set to expire at the end of the session." That is what makes sense BUT the cookies and site data do not get deleted when I close Firefox. I am not interested in getting cookies back ever, I just want them all gone from the last time I opened Firefox. Why would Firefox put such a straight forward setup in preferences and yet make it non functional?

more options

That setting works for me, so I think it can work for you. If you open the Storage Inspector on a site (for example this one) -- using either

  • "3-bar" menu button > Web Developer > Storage Inspector
  • (menu bar) Tools > Web Developer > Storage Inspector
  • (Windows) Shift+F9

-- and look at the cookies, what is the "Expires on" set to? Should be Session. Does that show correctly?

more options

Use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox title bar.

  • "3-bar" menu button -> Exit (Power button)
  • Linux: File -> Quit
  • Windows: File -> Exit
  • Mac: Firefox -> Quit Firefox

If clearing cookies didn't help then It is possible that the cookies.sqlite file in the Firefox profile folder that stores the cookies got corrupted.

  • rename/remove cookies.sqlite (cookies.sqlite.old) and if present delete cookies.sqlite-shm and cookies.sqlite-wal in the Firefox profile folder with Firefox closed in case cookies.sqlite got corrupted.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.