Need to login every few weeks

2 replies [Last post]
KoBeWi
KoBeWi's picture
User offline. Last seen 4 hours 29 min ago. Offline
Joined: 2010-12-25
Posts: 508

Is there any reason for it?

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

nemo
nemo's picture
User offline. Last seen 23 hours 53 min ago. Offline
Joined: 2009-01-28
Posts: 1744

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 4 hours 29 min ago. Offline
Joined: 2010-12-25
Posts: 508

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 >_>

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