為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

session restore sessionstore.js

  • 6 回覆
  • 11 有這個問題
  • 1 次檢視
  • 最近回覆由 Moses

more options

I launched firefox and i closed the browser before restoring preivous session, now the next time i lounched it when i press restore i get the blank google page.It seems the session file has be overwiten with the google 1 tab session.I have replaced the session.js and bak file with a bakup thats one day old.When i started firefox the this is embarrsing page came up and i was able to restore. by replacing these 2 files did it affect anything else? Does the js file get reset evertime you close you browser. I'm worried that by replacing the 2 files i might have lost other data.Does the file get reset anyway when you close your browser and luanch again?

I launched firefox and i closed the browser before restoring preivous session, now the next time i lounched it when i press restore i get the blank google page.It seems the session file has be overwiten with the google 1 tab session.I have replaced the session.js and bak file with a bakup thats one day old.When i started firefox the ''this is embarrsing'' page came up and i was able to restore. by replacing these 2 files did it affect anything else? Does the js file get reset evertime you close you browser. I'm worried that by replacing the 2 files i might have lost other data.Does the file get reset anyway when you close your browser and luanch again?

所有回覆 (6)

more options

I had 14 tabs, i closed firefox and went to sleep. next day i opened firefox and accendently closed it without restoring prev session.I lounched it agian and pressed restore prevous session but it came back to the empty session the one which i closed.seeing both the seesionstore.js and bak both had low kbs i knew it had been overwritten, so i replaced both these files with the latest backup i had, a day old one. What does the js file contain? By replacing did i lose bookmarks, seached text, ect.Does the file get reset if you don't restore preous session each time.What does the seission file contain and did i lose any other data. I noticed on youtube its asking me about service cookies.I get this message on private browsing not on regualer browsing. Is this beacause somthing got reset by changing the session file.

由 nasaqww 於 修改

more options

The sessionstore.js file only stores data about the currently open tabs including App (pinned) tabs and Tab Groups and closed tabs and windows. Cookies used by those tabs may be stored as well as part of the session data, but other data like bookmarks (places.sqlite) and saved form data (formhistory.sqlite) is stored in other files.

more options

So did i lose anything by replacing the sessionstore.js file? does The file get reset anyway when you close and open without restoring prev session?So nothing got lost? Technical info will help

more options

No, it is not very likely that you lost anything apart from the tabs that were open before restoring the session from the sessionstore.js file. You can bookmarks such tabs if you would like to keep them for future use (visit).

more options

the session.js gets reset to the last session if you close and open without restoring prev session.is this true?

The only thing i lost is the session back to the point of the backup up.Does the file anyway get reset, so by changing the js i did no harm or loss to anything else.

more options

Dupe!
Original at /questions/992228

Closing.

I'm lying...Nevermind.

由 Moses 於 修改