this post was submitted on 08 Aug 2024
12 points (92.9% liked)

Programming.dev Meta

2476 readers
1 users here now

Welcome to the Programming.Dev meta community!

This is a community for discussing things about programming.dev itself. Things like announcements, site help posts, site questions, etc. are all welcome here.

Links

Credits

founded 1 year ago
MODERATORS
 

The title says it all. Not even sure if it's going to keep me logged in long enough to submit this post.

you are viewing a single comment's thread
view the rest of the comments
[–] Ategon 3 points 3 months ago (7 children)

which firefox, stable beta or nightly

[–] nulluser 1 points 3 months ago* (last edited 3 months ago) (5 children)

Update: Haven't used my lemmy.world account in a while, so thought I'd test this out over there. Same thing happened after several minutes. Then I tried on Mastodon.world for a while and it seems to work fine. I'll try giving the alternate front end another round of testing later today.

Addendum: Can't reproduce the problem on t.programming.dev today, and couldn't seem to on a.programming.dev yesterday, so it seems to be specific to the default Lemmy front end.

[–] snowe 1 points 3 months ago (4 children)

so it sounds like default frontend, maybe tied to the version we have (we're still a few versions behind), only mobile ff.

[–] nulluser 1 points 3 months ago (1 children)

I think I figured out how to reproduce it really quick.

  1. Log in to Lemmy on Firefox
  2. Switch to a different app
  3. Switch back to Firefox
  4. Reload the page.

Poof! I'm out. I repeated the test multiple times to confirm it's consistent. Probably actually getting kicked out on step 2. It's like FF decides to expire the Lemmy cookies when the app loses focus.

Armed with that info, I retested two alternate front ends on programming.dev (a. & t.) and default front end on lemmy.world and default front end on programming.drv with Brave. I was previously getting logged out on lemmy.world, but not now (maybe they updated something? Or my test is still flawed.). So, with these steps I can only reproduce it on programming.dev with the default front end on Firefox.

[–] snowe 1 points 2 months ago (1 children)

What OS are you using? Version of FF?

[–] nulluser 2 points 2 months ago

I seem to have isolated the problem to using a link to the website on the phone's home screen (created from FF using the "Add to Home screen" option in the three dots menu next to the address bar.

Starting that way seems to give any session cookies a very short life and they disappear quickly (logging me out). I created a bookmark within FF and have been using that and haven't been logged out since.

In fact, if I use the home screen link to programming.dev, FF doesn't think I'm logged in, but then if I use the bookmark from within that same instance of FF, it instantly sees me as already logged in.

Very strange.

load more comments (2 replies)
load more comments (2 replies)
load more comments (3 replies)