Need to login every few weeks

3 replies [Last post]
KoBeWi
KoBeWi's picture
User offline. Last seen 3 weeks 6 days ago. Offline
Joined: 2010-12-25
Posts: 565

Is there any reason for it?

EDIT:
Ok, it's actually days. Annoying.

nemo
nemo's picture
User offline. Last seen 22 weeks 3 days ago. Offline
Joined: 2009-01-28
Posts: 1861

So, the short answer is that most things on this website are entirely based upon what the defaults were, and no one has volunteered to upgrade/migrate content.

The longer answer as to why the defaults are as such would be that the website *only* maintains a session cookie, not an auth token. So, if the session is expired, you have to log back in.

Why would sessions be expired? Well, most likely to avoid accumulating them endlessly over time and allow garbage collection to run. There's presumably minor security benefits as well, if people abandon a machine.

One trivial thing I *could* slap in would be a setInterval() ping of the website every few hours or so, so that if you left the web page open it would be considered an active session... Hopefully this would not be a tremendous amount of load on a currently volunteer hosted website...

Is logging in such a hassle though? Surely you can just let your browser password manager or external password manager autofill?

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

KoBeWi
KoBeWi's picture
User offline. Last seen 3 weeks 6 days ago. Offline
Joined: 2010-12-25
Posts: 565

Quote:
Is logging in such a hassle though? Surely you can just let your browser password manager or external password manager autofill?

I do have autofill, but the website isn't very friendly on mobile. Also I'm used to being logged in everywhere >_>

nemo
nemo's picture
User offline. Last seen 22 weeks 3 days ago. Offline
Joined: 2009-01-28
Posts: 1861

Hm, certainly true this ancient design has never been updated for mobile. It might be possible to tweak that a bit w/ some simple style changes...

Not to sure what that has to do with logging in though ☺

Anyway, if you want to volunteer to help upgrade us, main issue is data migration.

unc0rr made a sanitised set a while back for someone to use as a target for their scripts.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]