Lemmy cookie expiring and forgetting everything?

https://lemmy.world/post/17094060

Lemmy cookie expiring and forgetting everything? - Lemmy.World

Posted this to AskLemmy (https://lemmy.world/post/17088629 [https://lemmy.world/post/17088629]), but thought it worth posting here: I use old.lemmy.world as my interface and I’ve noticed that roughly every month I’m: - Forcibly logged out and have to do the re-auth dance for no apparent reason. - 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) despite me using it as recently as the day before? Why aren’t my preferences being retained between logins? I suspect the recent update (https://mastodon.world/@LemmyWorld/112706805419064266 [https://mastodon.world/@LemmyWorld/112706805419064266]) explains the latest event, but the questions still stand.

looking over the mlmym code, it appears that there is a hardcoded cookie expiration of 30 days.

You might want to raise an issue on GitHub about this.

mlmym/routes.go at a518844b005179623d0d7a31f45966cd8a6b8a96 · rystaf/mlmym

a familiar desktop experience for lemmy. Contribute to rystaf/mlmym development by creating an account on GitHub.

GitHub

Thanks for looking into that, and for the reply - this would explain a lot.

Coupled with mlmym issue 104, noting that those settings are always stored client-side in the cookie, it explains what I’m experiencing: github.com/rystaf/mlmym/issues/104

Persistent settings · Issue #104 · rystaf/mlmym

Whenever I need to login to Lemmy, my mlmym settings (default sort, auto load more...) reset to default. Is this an instance issue or mlmym doesn't allow to store settings?

GitHub