NATION

PASSWORD

I Keep Getting Logged Out

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Emazia
Minister
 
Posts: 2326
Founded: May 04, 2019
Ex-Nation

I Keep Getting Logged Out

Postby Emazia » Mon Jul 27, 2020 2:41 pm

Alright, this is an issue that has been plaguing me for months, but I've only bothered to do it now since it seems to be ramping up. I had my nation open in a private window (closed it now since it was redundant, when I was doing something with a different nation on my non-private window), and I just closed it, although it was happening, albeit to a lesser degree, prior to the problem.

It happens on both phone and laptop, and regardless of what I turn on and off in my addons. I use Firefox but it doesn't seem to be a browser problem since it happens to my phone too...Please help me, this is annoying.

Also, on another note, this literally happened while I was typing this. :(
Proud Libertarian Socialist

Resistance is the only path to freedom under tyranny. Power to the people and down with those who would subvert their will. In the name of justice, we must fight.

Anti-capitalist. Anti-fascist. Anti-authoritarian.

User avatar
Trotterdam
Postmaster-General
 
Posts: 10541
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Mon Jul 27, 2020 3:57 pm

It helps to explain what the issue is. When do you get logged out?

You will get automatically logged out if you spend too much time without doing anything, which is entirely intentional. You can enable autologin in your settings, which won't actually prevent you from getting logged out, but will feel similar to that from a user perspective.

If you mean something else, you need to be clearer.

User avatar
Emazia
Minister
 
Posts: 2326
Founded: May 04, 2019
Ex-Nation

Postby Emazia » Mon Jul 27, 2020 4:00 pm

Trotterdam wrote:It helps to explain what the issue is. When do you get logged out?

You will get automatically logged out if you spend too much time without doing anything, which is entirely intentional. You can enable autologin in your settings, which won't actually prevent you from getting logged out, but will feel similar to that from a user perspective.

If you mean something else, you need to be clearer.

I am doing a lot of things, sometimes I get logged out mid-writing a (short) post.

What happens is (and this is only on the forums), I spend a few minutes doing ANYTHING, even browsing or submitting short messages every minute or so, and it automatically logs me out for some reason. Don't know why.
Proud Libertarian Socialist

Resistance is the only path to freedom under tyranny. Power to the people and down with those who would subvert their will. In the name of justice, we must fight.

Anti-capitalist. Anti-fascist. Anti-authoritarian.

User avatar
SherpDaWerp
Technical Moderator
 
Posts: 1895
Founded: Mar 02, 2016
Benevolent Dictatorship

Postby SherpDaWerp » Mon Jul 27, 2020 4:16 pm

Emazia wrote:
Trotterdam wrote:It helps to explain what the issue is. When do you get logged out?

You will get automatically logged out if you spend too much time without doing anything, which is entirely intentional. You can enable autologin in your settings, which won't actually prevent you from getting logged out, but will feel similar to that from a user perspective.

If you mean something else, you need to be clearer.

I am doing a lot of things, sometimes I get logged out mid-writing a (short) post.

What happens is (and this is only on the forums), I spend a few minutes doing ANYTHING, even browsing or submitting short messages every minute or so, and it automatically logs me out for some reason. Don't know why.

I'm pretty sure login/logout issues can be caused by cookie settings - the game needs to store cookies in your browser to keep you logged in, so blocking cookies can stop the site from keeping you logged in across pages. Check your cookie settings to see if NS is allowed to save information.

EDIT: I've also just noticed that the forum lists you as an "Ex-Nation", which might hint at some underlying issues? However, it might just mean your forum profile and gameside profile are out-of-sync. Mods/Techies can fix that, though, so if/when one happens across the thread they should definitely check that out.
Last edited by SherpDaWerp on Mon Jul 27, 2020 4:18 pm, edited 1 time in total.
Became an editor on 18/01/23 techie on 29/01/24

Rampant statistical speculation from before then is entirely unofficial

User avatar
Emazia
Minister
 
Posts: 2326
Founded: May 04, 2019
Ex-Nation

Postby Emazia » Mon Jul 27, 2020 4:17 pm

SherpDaWerp wrote:
Emazia wrote:I am doing a lot of things, sometimes I get logged out mid-writing a (short) post.

What happens is (and this is only on the forums), I spend a few minutes doing ANYTHING, even browsing or submitting short messages every minute or so, and it automatically logs me out for some reason. Don't know why.

I'm pretty sure login/logout issues can be caused by cookie settings - the game needs to store cookies in your browser to keep you logged in, so blocking cookies can stop the site from keeping you logged in across pages. Check your cookie settings to see if NS is allowed to save information.

I am fairly sure it is not that as my phone has cookies enabled, my laptop does not and they both face the problem.
Proud Libertarian Socialist

Resistance is the only path to freedom under tyranny. Power to the people and down with those who would subvert their will. In the name of justice, we must fight.

Anti-capitalist. Anti-fascist. Anti-authoritarian.

User avatar
SherpDaWerp
Technical Moderator
 
Posts: 1895
Founded: Mar 02, 2016
Benevolent Dictatorship

Postby SherpDaWerp » Mon Jul 27, 2020 4:20 pm

Emazia wrote:
SherpDaWerp wrote:I'm pretty sure login/logout issues can be caused by cookie settings - the game needs to store cookies in your browser to keep you logged in, so blocking cookies can stop the site from keeping you logged in across pages. Check your cookie settings to see if NS is allowed to save information.

I am fairly sure it is not that as my phone has cookies enabled, my laptop does not and they both face the problem.

Logging in on another device (as in phone/laptop) will also invalidate a logged-in session for any other device you've used or are using - are you only browsing on one device at a time?
Became an editor on 18/01/23 techie on 29/01/24

Rampant statistical speculation from before then is entirely unofficial

User avatar
Trotterdam
Postmaster-General
 
Posts: 10541
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Mon Jul 27, 2020 4:21 pm

To be clear, this does not only happen when you're using private windows? Because you mentioned that you were, and that could mess with cookie settings.

User avatar
Emazia
Minister
 
Posts: 2326
Founded: May 04, 2019
Ex-Nation

Postby Emazia » Mon Jul 27, 2020 4:25 pm

Trotterdam wrote:To be clear, this does not only happen when you're using private windows? Because you mentioned that you were, and that could mess with cookie settings.

Nope. It happens regardless.

SherpDaWerp wrote:
Emazia wrote:I am fairly sure it is not that as my phone has cookies enabled, my laptop does not and they both face the problem.

Logging in on another device (as in phone/laptop) will also invalidate a logged-in session for any other device you've used or are using - are you only browsing on one device at a time?

No. Is that the problem?
Proud Libertarian Socialist

Resistance is the only path to freedom under tyranny. Power to the people and down with those who would subvert their will. In the name of justice, we must fight.

Anti-capitalist. Anti-fascist. Anti-authoritarian.

User avatar
SherpDaWerp
Technical Moderator
 
Posts: 1895
Founded: Mar 02, 2016
Benevolent Dictatorship

Postby SherpDaWerp » Mon Jul 27, 2020 4:30 pm

Emazia wrote:
SherpDaWerp wrote:Logging in on another device (as in phone/laptop) will also invalidate a logged-in session for any other device you've used or are using - are you only browsing on one device at a time?

No. Is that the problem?

It could be the problem - if you open and log into NS as "Emazia" on your phone, it will log you out of NS (as "Emazia") on your laptop, and vice versa. You can't be logged in as the same nation on multiple devices.
Became an editor on 18/01/23 techie on 29/01/24

Rampant statistical speculation from before then is entirely unofficial

User avatar
Emazia
Minister
 
Posts: 2326
Founded: May 04, 2019
Ex-Nation

Postby Emazia » Mon Jul 27, 2020 4:31 pm

SherpDaWerp wrote:
Emazia wrote:No. Is that the problem?

It could be the problem - if you open and log into NS as "Emazia" on your phone, it will log you out of NS (as "Emazia") on your laptop, and vice versa. You can't be logged in as the same nation on multiple devices.

I see. Is this something they are working to change or not?
Proud Libertarian Socialist

Resistance is the only path to freedom under tyranny. Power to the people and down with those who would subvert their will. In the name of justice, we must fight.

Anti-capitalist. Anti-fascist. Anti-authoritarian.

User avatar
SherpDaWerp
Technical Moderator
 
Posts: 1895
Founded: Mar 02, 2016
Benevolent Dictatorship

Postby SherpDaWerp » Mon Jul 27, 2020 4:37 pm

Emazia wrote:
SherpDaWerp wrote:It could be the problem - if you open and log into NS as "Emazia" on your phone, it will log you out of NS (as "Emazia") on your laptop, and vice versa. You can't be logged in as the same nation on multiple devices.

I see. Is this something they are working to change or not?

No, that is a deliberate decision. There's no realistic need to be logged in as the same nation on multiple devices, and there's almost certainly security risks that would result from allowing that practice.

If that's what's causing the issue - just don't use your phone and laptop at the same time! Play NS on your laptop and leave your phone somewhere else, or have a second nation and log in as that nation on your phone.
Became an editor on 18/01/23 techie on 29/01/24

Rampant statistical speculation from before then is entirely unofficial

User avatar
Emazia
Minister
 
Posts: 2326
Founded: May 04, 2019
Ex-Nation

Postby Emazia » Mon Jul 27, 2020 4:38 pm

SherpDaWerp wrote:
Emazia wrote:I see. Is this something they are working to change or not?

No, that is a deliberate decision. There's no realistic need to be logged in as the same nation on multiple devices, and there's almost certainly security risks that would result from allowing that practice.

If that's what's causing the issue - just don't use your phone and laptop at the same time! Play NS on your laptop and leave your phone somewhere else, or have a second nation and log in as that nation on your phone.

Alright, thanks for the help!

I wish we had some sort of reward emoji, but just have some virtual cookies and free facemasks!
Proud Libertarian Socialist

Resistance is the only path to freedom under tyranny. Power to the people and down with those who would subvert their will. In the name of justice, we must fight.

Anti-capitalist. Anti-fascist. Anti-authoritarian.

User avatar
Luna Amore
Issues Editor
 
Posts: 15751
Founded: Antiquity
Benevolent Dictatorship

Postby Luna Amore » Mon Jul 27, 2020 8:52 pm

SherpDaWerp wrote:EDIT: I've also just noticed that the forum lists you as an "Ex-Nation", which might hint at some underlying issues? However, it might just mean your forum profile and gameside profile are out-of-sync. Mods/Techies can fix that, though, so if/when one happens across the thread they should definitely check that out.

Resync'd.

User avatar
Emazia
Minister
 
Posts: 2326
Founded: May 04, 2019
Ex-Nation

Postby Emazia » Tue Jul 28, 2020 12:42 am

Luna Amore wrote:
SherpDaWerp wrote:EDIT: I've also just noticed that the forum lists you as an "Ex-Nation", which might hint at some underlying issues? However, it might just mean your forum profile and gameside profile are out-of-sync. Mods/Techies can fix that, though, so if/when one happens across the thread they should definitely check that out.

Resync'd.

Thank you for your help!
Proud Libertarian Socialist

Resistance is the only path to freedom under tyranny. Power to the people and down with those who would subvert their will. In the name of justice, we must fight.

Anti-capitalist. Anti-fascist. Anti-authoritarian.

User avatar
Indo States
Minister
 
Posts: 3314
Founded: Jan 05, 2018
Authoritarian Democracy

Postby Indo States » Thu Jul 30, 2020 6:23 am

One Question, Do you enabled the "Log-in Automatically" on your Device or Computer? So, if you are logging in, You don't need to Type your Nation Name and Password. But, this Feature may not work on Private Tabs for Some Reasons.
Last edited by Indo States on Thu Jul 30, 2020 6:25 am, edited 1 time in total.
Fédération Fatimanienné - Fatiman Federation
Country of Freedom and Education


I DO NOT USE NATIONSTATES STATS


Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Anti Tokage, Grailquest, Indian Empire, Leoria and Portardosa, Maplestan, Osdlandia, Verderiesdre, Wagan

Advertisement

Remove ads