I have an account on lemmy.ml and two days ago it started logging me out of the website whenever I close the browser tab or browser. This behaviour does not occur on other websites where I choose to stay logged in. So my browser functionality is working as intended.

Has anything changed on Lemmy, cause it used to work for years? Anything I can do?

  • yogurt@lemm.ee
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago

    For me the jwt login cookie is being set to expire in 3023, I edited it to 2026 and it works

    • KoryOP
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Mine is set to expire: Expires / Max-Age:“Fri, 23 Aug 2024 06:40:27 GMT” - so that’s in 7 days. Great find though!

  • Blaze (he/him)@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    I have that from time to time. I connect a few times, and then it goes away. I never understood how it works.

    • KoryOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      3 months ago

      I used to have it from time to time too, but now it’s every single time and that’s inconvenient.

        • Nothing4You@programming.dev
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 months ago

          it seems to have become more frequent recently.

          i’ve been experiencing the same on firefox and i’ve also heard other people report the same on firefox, which happened around the time of the firefox 129 release. i didn’t see anything noteworthy in the release notes though that’d explain this. it seems like it might be related to enhanced tracking protection and cookie isolation.

          • KoryOP
            link
            fedilink
            arrow-up
            1
            ·
            3 months ago

            Possibly, but I’m wondering why it’s only affecting Lemmy then? (I’m using Librewolf that’s based on Firefox)

    • KoryOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      3 months ago

      Thanks! I was searching for posts before I posted but hadn’t found that post.

      Edit: that post suggests to clear cookies - I’ve tried that twice on two machines, same problem still.

      • Sorry if it came across like I was implying that you should have commented there first – that was definitely not my intention! I actually considered making a post on my instance about it too, because I know some people primarily browse local stuff and would likely miss a post from another instance.

        I just wanted to let you know it wasn’t just you and maybe encourage you to comment there, too, in the hope that more of us mentioning in each post that we’re having this problem might help lead to clues and a fix. 🙂

        • KoryOP
          link
          fedilink
          arrow-up
          2
          ·
          3 months ago

          No not at all, I just said that because I’m often under the impression that many people never search before posting and it sometimes annoys me so I try not to make the same mistake :D. I still miss the old forum days where we had that Bart Simpson meme.

          Thanks for piecing it together, it might be a problem for more users, I’m relieved to read it’s not only happening to me!

      • KoryOP
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        Just did some digging - I cannot see that mentioned post on lemm.ee support. I can find the community but the last post that shows for me is from 3 months ago and when I search for the post’s title I get “no results”. Bit off-topic though, sorry.

    • KoryOP
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      Refreshing logs me out when I’m logged in and does nothing when I’m logged out.