为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Session restore - logical paradox

  • 3 个回答
  • 1 人有此问题
  • 15 次查看
  • 最后回复者为 infiniter

more options

I'm not using Firefox that often and didn't realise that paradox before: session restore, i.e. re-opening of tabs from last session, does only work if in the privacy settings, at "Clear history when Firefox closes" the item "Browsing & Download history" is not checked. Well, this is not mentioned anywhere on http://kb.mozillazine.org/Session_Restore and the illogical thing is that restoring tabs with the one last URL for each tab is not browsing history. It means, even if the other browsing history is cleared on exit, the URL of every tab still being open should be saved for session restore. I consider it as a paradox, because I don't want to keep all the browsing history, but simply restore the tabs. Shall I post this somewhere else as request or bug?

Works with Chrome - why not with Firefox?

I'm not using Firefox that often and didn't realise that paradox before: session restore, i.e. re-opening of tabs from last session, does only work if in the privacy settings, at "Clear history when Firefox closes" the item "Browsing & Download history" is not checked. Well, this is not mentioned anywhere on http://kb.mozillazine.org/Session_Restore and the illogical thing is that restoring tabs with the one last URL for each tab is not browsing history. It means, even if the other browsing history is cleared on exit, the URL of every tab still being open should be saved for session restore. I consider it as a paradox, because I don't want to keep all the browsing history, but simply restore the tabs. Shall I post this somewhere else as request or bug? Works with Chrome - why not with Firefox?

所有回复 (3)

more options

If you do not want to keep history and remove the history when you close Firefox then this also disables restoring tabs automatically via session restore. Privacy settings prevail in this case and tabs are considered as history. Cookies may behave strangely as well as cookies from open tabs are stored as part of the session data in sessionstore.js.

more options

Where does Google save the list of tabs?

As a workaround, you could use "Bookmark All Tabs" to save your active tab addresses (on a window-by-window basis). You can access this feature by right-clicking any tab in the window.

more options

cor-el said

Cookies may behave strangely as well as cookies from open tabs are stored as part of the session data in sessionstore.js.

That's exactly the point. Restoring just tabs and restoring a session are two separate things. FF is actually restoring a session, not just tabs. Chrome, as a comparison, only stores the URL for the tabs, even if you clean the history. That's what I'd wish for FF to do, too.