搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

What is the maximum time of cookie storage? It is ment cookie maximum expiration time.

  • 5 回覆
  • 15 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

We would like to to know the max value of cookie expiration date.

This happened

Every time Firefox opened

We would like to to know the max value of cookie expiration date. == This happened == Every time Firefox opened

被選擇的解決方法

6 bit is a typo in my above post, should have been 64 bit as opposed to 32 bit in the past.

從原來的回覆中察看解決方案 👍 2

所有回覆 (5)

more options

Do you have a problem with cookies that expire too early?

Tools > Options > Privacy > Cookies: "Keep until": "they expire"

more options

No, but I need to know what maximum epiration date can be set to the browser by server- 15, 20, 25 years?

more options

Be safe and do not go beyond 2038 (there is bug 562198 on Linux that has just been fixed). There is no need to go further than a few years. Firefox should be able to store an expiration date to at least 3000 using a 6 bit date, but there is no need to go that far.

more options

Ok, thank you for help. But what do you mean under 6 bit date value? What the maximum (after bug fix f.g.)? Is it 100, 200 years or more?

Or can the maximum be different for the different browser's versions?

more options

選擇的解決方法

6 bit is a typo in my above post, should have been 64 bit as opposed to 32 bit in the past.