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

搜索 | 用户支持

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

详细了解

Does Private Browser save session data across Browser windows?

  • 5 个回答
  • 1 人有此问题
  • 154 次查看
  • 最后回复者为 cor-el

more options

I've been struggling today with accessing two systems on my work laptop. As I'm an administrator on both sites, I've been purposely using "private mode" browser sessions in Firefox (my default and fav) but I was surprised to see that the private mode appears to be "save" some of the session data from those systems - at least temporarily until I close all of those windows entirely?

I log in to one of those corporate sites with a username + password, then attempt to login to the other one in a separate tab, but it immediately attempts to auto-login me in with the credentials from the first site (which doesn't work as both sites require a different username/password for security reasons). I tried several combinations: I used separate private browser windows (instead of tabs) and the same thing happens. It's like it shares data across the instances? I also tried the reverse - logging into the 2nd system first on a fresh instance, then login to the first, and the same thing happens with a similar "invalid login" error.

Maybe its something weird about the auth on our network, like SSO? ...

I have noticed similar though where I've had other, multiple private browser sessions open on my personal laptop and even though I've closed one of them, activity from the site I closed has continued to happen in the background because the other private windows remained open ...

I've been struggling today with accessing two systems on my work laptop. As I'm an administrator on both sites, I've been purposely using "private mode" browser sessions in Firefox (my default and fav) but I was surprised to see that the private mode appears to be "save" some of the session data from those systems - at least temporarily until I close all of those windows entirely? I log in to one of those corporate sites with a username + password, then attempt to login to the other one in a separate tab, but it immediately attempts to auto-login me in with the credentials from the first site (which doesn't work as both sites require a different username/password for security reasons). I tried several combinations: I used separate private browser windows (instead of tabs) and the same thing happens. It's like it shares data across the instances? I also tried the reverse - logging into the 2nd system first on a fresh instance, then login to the first, and the same thing happens with a similar "invalid login" error. Maybe its something weird about the auth on our network, like SSO? ... I have noticed similar though where I've had other, multiple private browser sessions open on my personal laptop and even though I've closed one of them, activity from the site I closed has continued to happen in the background because the other private windows remained open ...

被采纳的解决方案

All PB mode windows (tabs) share the same in-memory storage like for cookies that only is purged if all PB mode windows are closed or if you exit/quit Firefox, so it isn't true that PB mode windows are independent. If you need multiple accounts then consider to use containers unless you do not want to keep history.

定位到答案原位置 👍 1

所有回复 (5)

more options

you may check, wether different Firefox profiles will work 4 u : https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Multiple_profiles

more options

选择的解决方案

All PB mode windows (tabs) share the same in-memory storage like for cookies that only is purged if all PB mode windows are closed or if you exit/quit Firefox, so it isn't true that PB mode windows are independent. If you need multiple accounts then consider to use containers unless you do not want to keep history.

more options

Thanks for the quick responses. These are great resources and explanations. I think the containers option should do the trick. It's honestly what I thought was how the Private Windows/Tabs worked in general sense (a separate slice of the browser's storage space) ;)

more options

Quick update here: unfortunately the Multi-Account Containers didn't quite work for my situation, though it certainly sounded promising. I installed the add-on both at home and at work. Unfortunately, the feature doesn't work in "private browser" mode per the attached screen capture.

Definitely appreciated the insights though and totally worth a try. For now, I've switched to administering the one site in Chrome and the other in Firefox. Not ideal, but not the end of the world either :)

more options

Yes, you need to use regular mode and not PB mode if you use containers, otherwise you can open one account in regular mode and a second account in PB mode. If you insist in using PB mode then you need a separate profile for each account.