6

I have this Firefox profile that is shared. I may use that very same profile in Linux or Windows.

The issue is every time I switch OSes I have to log in again to Stack Overflow/Stack Exchange because it will invalidate the session cookies just because the USERAGENT/OS in the HTTP cookie header has changed.

This issue won't happen to any other site I visit, except Stack Overflow/Stack Exchange.

Can that be somehow fixed?

enter image description here

11
  • 2
    Why not just stop sharing the profile. You can use Firefox Sync to sync the two browsers. Commented Oct 13, 2018 at 18:27
  • 8
    This must be more than just a cookie issue: I'm logged in on my phone, a Windows machine, and a MacBook all at the same time.
    – BSMP
    Commented Oct 13, 2018 at 18:35
  • 4
    @BSMP It's a sharing profile issue. Commented Oct 13, 2018 at 18:55
  • 13
    Sounds to me like it's probably working as designed - blocking a potential cookie-stealing attack.
    – peeebeee
    Commented Oct 15, 2018 at 8:46
  • 1
    @RobertLongson Firefox sync doesn't keep the entire browser in sync. I've tried it. It's not like Chrome where you recover everything. Plus it means sharing your data with Mozilla, which some may not feel comfortable with.
    – trlkly
    Commented Oct 15, 2018 at 11:11
  • @peeebeee If it's just the user agent, then this seems unlikely. Anyone pretending to be you can easily get your user-agent and use it.
    – trlkly
    Commented Oct 15, 2018 at 11:12
  • your data is encrypted, mozilla can't read it. Commented Oct 15, 2018 at 11:17
  • 3
    @trlkly "Plus it means sharing your data with Mozilla, which some may not feel comfortable with" so you are ok sharing it with Google? Wow Commented Oct 15, 2018 at 21:59
  • @peeebeee Sites stopped validating the user-agent string because of how easy it is to spoof Commented Oct 15, 2018 at 22:00
  • @CamiloTerevinto That's no reason not to validate it, along with other more subtle tests.
    – peeebeee
    Commented Oct 16, 2018 at 6:54
  • @peeebeee Sure there is: it's more code to maintain. And at SO's scale, there may be a performance impact for doing work like that unnecessarily.
    – jpmc26
    Commented Oct 16, 2018 at 20:56

1 Answer 1

-2

If it is indeed the User-agent, then Firefox has a highly rated extension to deal with this. However, you may find it is something else. It may be something to do with Firefox itself. I do remember some sites would log me out when I went from Windows to Linux and back on the same profile.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .