Shuffle iT Forum

Dominion => Feature Requests => Topic started by: yed on 11 December 2016, 01:16:48 PM

Title: Always stay logged in (cookies)
Post by: yed on 11 December 2016, 01:16:48 PM
Please implement "Always stay logged in" by cookies feature.

It would be kinda ok without it, if remember password in browser worked, but it does not.
Title: Re: Always stay logged in (cookies)
Post by: SirDagen on 11 December 2016, 01:17:59 PM
Good one
Title: Re: Always stay logged in (cookies)
Post by: moesjiff on 06 January 2017, 11:45:50 PM
+1
Title: Re: Always stay logged in (cookies)
Post by: ApoY2k on 31 January 2018, 05:50:17 AM
I know this is old, so I hope I'm not breaking any rules, but this feature request is literally the reason I registered because it's a really important feature that is missing in this otherwise awesome site.
Title: Re: Always stay logged in (cookies)
Post by: Ingix on 31 January 2018, 10:33:37 AM
I'm not sure if this isn't already implemented. If you don't log out from the game, then the next time you browse to the site it will open your account again.

This may not work if you switch between playing on different devices, I haven't tested that.
Title: Re: Always stay logged in (cookies)
Post by: ApoY2k on 31 January 2018, 09:59:26 PM
It does work but seems to be a bit buggy...

The session id is saved into localStorage, but when I leave the page it gets deleted. When I close the browser complelety, it stays and I'm logged in when coming back.

Hmmm...
Title: Re: Always stay logged in (cookies)
Post by: Stef on 03 February 2018, 12:46:26 PM
Quote from: ApoY2k on 31 January 2018, 09:59:26 PM
It does work but seems to be a bit buggy...

The session id is saved into localStorage, but when I leave the page it gets deleted. When I close the browser complelety, it stays and I'm logged in when coming back.

Hmmm...

I don't fully understand what you're saying here. For me it just saves the session id and logs me back in when I get back. What do you mean by "when I leave" if it's not closing the browser?
If you click "logout" it deletes the session id (and also instructs the server to invalidate it) but I don't assume that is what you're describing?
Title: Re: Always stay logged in (cookies)
Post by: ApoY2k on 05 February 2018, 09:06:21 PM
It appears that sometimes, when loading up the page, the session in local storage gets invalidated. I haven't been able to properly reproduce it, though. If I can, I'll report back.