this post was submitted on 30 Jun 2024
24 points (92.9% liked)

Ask Lemmy

26966 readers
1075 users here now

A Fediverse community for open-ended, thought provoking questions

Please don't post about US Politics. If you need to do this, try [email protected]


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [email protected] or [email protected]. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
 

Apologies if this has been asked before, but I didn't find mention of it. I use old.lemmy.world as my interface and I've noticed that roughly every month I'm:

  1. Forcibly logged out and have to do the re-auth dance for no apparent reason.
  2. Everything I've set in Settings is forgotten: Default Listing reverts to All, Default Post Sort reverts to Hot, and so on.

My browser is set to retain cookies and such, so it's not PEBKAC/PICNIC. Why is Lemmy doing a nuke-from-low-orbit every month (roughly; haven't measured it) despite me using it as recently as the day before? Isn't this bonkers practice?


Edit: I've just seen https://mastodon.world/@LemmyWorld/112706805419064266 which may explain it. Either way, the questions stand.

top 4 comments
sorted by: hot top controversial new old
[–] Asudox 1 points 4 months ago

Locking as this post violates rule 5.

[–] slazer2au 5 points 4 months ago

Might want to throw that to [email protected]

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

Everything I've set in Settings is forgotten: Default Listing reverts to All, Default Post Sort reverts to Hot, and so on.

mlmym (the "old" interface) stores its front-end specific settings in your browser via cookies and local storage. The way it's implemented works for the most part and probably makes the front-end simpler, but has some downsides like not retaining your choices between logins. There's an issue open for this in the bug tracker: https://github.com/rystaf/mlmym/issues/104

I'm not sure why it forces a logout periodically even when you're using it regularly though. (I mean, the cookies are probably not being updated and just expire eventually -- but I don't know if that was a deliberate choice or not.) It might be a good idea to open an issue for this?

[–] Brewchin 2 points 4 months ago* (last edited 4 months ago)

Thanks, and for that Issue link. As you say, I expect it's just nuking the cookie and everything related to it just disappears.

At least it's on someone's radar. :)


Edit: I sent a message to support, as suggested by slazer2au, and got a response pointing out that 30 days seems to be hard-coded into mlmym: https://github.com/rystaf/mlmym/blob/a518844b005179623d0d7a31f45966cd8a6b8a96/routes.go#L794

That and those settings all being stored client-side explains everything. Not sure why those choices were made, but now I know why.