Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

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

详细了解
已存档

What could be clearing Firefox Cache?

Linhlz 已回复
FoxyHelpPlease

I'm accessing a remote desktop Windows server. I have installed Firefox Portable. When I login to the site I reach two-factor authentication. I've authenticated it manually and ticked the box 'Don't ask for codes on this device'.

Each time I relaunch Firefox it works without having to reauthenticate, but each time I close the remote connection and reconnect, the Firefox cache appears to have cleared and I have to go through 2 factor authentication again.

Have you any idea why the cache would be clearing? I sometimes run CCleaner manually but even when I do that, I can still login without 2-factor, so I don't think it is ccleaner causing the problem. I think it is something to do with reconnecting to the server.

I'm accessing a remote desktop Windows server. I have installed Firefox Portable. When I login to the site I reach two-factor authentication. I've authenticated it manually and ticked the box 'Don't ask for codes on this device'. Each time I relaunch Firefox it works without having to reauthenticate, but each time I close the remote connection and reconnect, the Firefox cache appears to have cleared and I have to go through 2 factor authentication again. Have you any idea why the cache would be clearing? I sometimes run CCleaner manually but even when I do that, I can still login without 2-factor, so I don't think it is ccleaner causing the problem. I think it is something to do with reconnecting to the server.

所有回复 (6)

I don't think it's a cache problem; more likely it's a deleted cookie.

Is the remote system's public IP address stable from one login to the next? Sites that require two-step authentication may invalidate an existing cookie if the IP address does not match the session during which the cookie was set. (This protects against impersonation on another network using stolen cookies.)

Thanks that makes sense but I don't think the public IP address changes.

I use an IP address to login and that doesn't change. I've checked whatsmyip.org and it matches what I login with.

Okay, is there any reason that cookies might be getting cleared in your remote Firefox? You mentioned CCleaner. Is it set to purge any browser data at system startup?

Oh wait, you said Firefox Portable. CCleaner probably doesn't even know about it. Could you ask on their forums whether this is a known issue?

https://portableapps.com/forums

OK thank you for your help. I've posted the question over there.

Click the menu button New Fx Menu and choose Options. Select the Advanced panel. Click on the Network tab. In the Cached Web Content section, click Clear Now. Close the about:preferences page. Any changes you've made will automatically be saved.