NATION

PASSWORD

Autologin on forum

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Testlandia
Lobbyist
 
Posts: 11
Founded: Antiquity
Inoffensive Centrist Democracy

Autologin on forum

Postby Testlandia » Tue Apr 14, 2009 4:30 pm

If you have autologin turned on and bookmark the forum, close your browser, then visit it, the forum loads before the sidebar, meaning the forum says you're not logged in but the sidebar says you are. (Resolves upon following click.)

User avatar
[violet]
Executive Director
 
Posts: 16205
Founded: Antiquity

Re: Autologin on forum

Postby [violet] » Sat Apr 25, 2009 12:10 am

Mostly fixed.

Currently autologin does not work if the forum is accessed directly. If you have autologin set up for a nation, and you visit a forum page before a game page, then you won't be logged in as anybody in the forum. This is suboptimal -- ideally you should be able to bookmark the forum, and have any autologin work -- and I'll address this if the forum proves viable.

Another thing I'll do in that case is allow direct logins via the forum, thus eliminating the need to click a forum "Login" link, visit the login page, login, get taken to your home page, then find your way back to where you were.

User avatar
Erastide
Retired Moderator
 
Posts: 1299
Founded: Antiquity
Democratic Socialists

Re: Autologin on forum

Postby Erastide » Sat Apr 25, 2009 6:52 am

So something's slightly screwed up now. I went to my nation page, clicked my forum bookmark, and the sidebar has logged me out of my nation. I am logged in on the forum obviously.

User avatar
Testlandia
Lobbyist
 
Posts: 11
Founded: Antiquity
Inoffensive Centrist Democracy

Re: Autologin on forum

Postby Testlandia » Sat Apr 25, 2009 10:22 pm

Hmm, yes, I clearly rogered something. Will investigate.

User avatar
[violet]
Executive Director
 
Posts: 16205
Founded: Antiquity

Re: Autologin on forum

Postby [violet] » Sun Apr 26, 2009 3:52 am

Fixed, I think.

User avatar
[violet]
Executive Director
 
Posts: 16205
Founded: Antiquity

Re: Autologin on forum

Postby [violet] » Sun Apr 26, 2009 4:56 am

Test.

User avatar
Sneaky Bastards
Bureaucrat
 
Posts: 41
Founded: Antiquity
Civil Rights Lovefest

Re: Autologin on forum

Postby Sneaky Bastards » Sun Apr 26, 2009 5:02 pm

I'm not sure if its related to the autologin feature or what but if I leave the window open for the forums, wander off for a bit, and come back like a half-hour or so later, it'll have me as being logged out if I refresh the window, like there's some session timeout feature or something.
Last edited by Sneaky Bastards on Sun Apr 26, 2009 5:03 pm, edited 1 time in total.
"Don't underestimate the sneaky sneaky!"
"Peace cannot be kept by force. It can only be achieved by understanding."
Proud member of the Triumvirate of Yut.
Lunatic Goofballs wrote:Do you think there is One True God Particle, or do you think there is a pantheon of god particles out there? And if the latter, do you think the God Particle of Thunder has a tiny little hammer?

User avatar
Ardchoille
Retired Moderator
 
Posts: 9842
Founded: Apr 18, 2004
Democratic Socialists

Re: Autologin on forum

Postby Ardchoille » Sun Apr 26, 2009 9:08 pm

Me too -- and to avoid this being a "me too" post, it happens even if I've been active on the forum and jumping around from thread to thread. It seems to be "log out nation page" --> 30mins, regardless of forum activity.
Ideological Bulwark #35
The more scandalous charges were suppressed; the vicar of Christ was accused only of piracy, rape, sodomy, murder and incest. -- Edward Gibbon on the schismatic Pope John XXIII (1410–1415).

User avatar
[violet]
Executive Director
 
Posts: 16205
Founded: Antiquity

Re: Autologin on forum

Postby [violet] » Tue Apr 28, 2009 4:48 pm

There is a session timeout, and needs to be, so being logged out after 30 minutes of inactivity isn't a bug. But being logged out after 30 minutes of activity is. I'll investigate.

User avatar
Steenhuffel
Secretary
 
Posts: 33
Founded: Aug 05, 2006
Ex-Nation

Re: Autologin on forum

Postby Steenhuffel » Mon May 04, 2009 10:26 am

Sneaky Bastards wrote:I'm not sure if its related to the autologin feature or what but if I leave the window open for the forums, wander off for a bit, and come back like a half-hour or so later, it'll have me as being logged out if I refresh the window, like there's some session timeout feature or something.


This is happening to me as well. It also happens if I navigate away from NS and then return a few minutes later.
Join us in the refounded region of Beer where the taps are shiny and the pipes are clean.

Lefty Libertarian

User avatar
[violet]
Executive Director
 
Posts: 16205
Founded: Antiquity

Re: Autologin on forum

Postby [violet] » Mon Jun 22, 2009 11:25 pm

[violet] wrote:ideally you should be able to bookmark the forum, and have any autologin work -- and I'll address this if the forum proves viable.

Another thing I'll do in that case is allow direct logins via the forum, thus eliminating the need to click a forum "Login" link, visit the login page, login, get taken to your home page, then find your way back to where you were.


Done. You should now be able to bookmark http://forum.nationstates.net and have autologin work upon using it. Furthermore, you can stay completely within the forum to login and logout, rather than needing to bounce back to the game.

This was a big change and probably introduced a horrendous bug or two. Please report any weirdness!

User avatar
Valipac
Ambassador
 
Posts: 1285
Founded: May 08, 2009
Ex-Nation

Re: Autologin on forum

Postby Valipac » Tue Jun 23, 2009 4:58 am

[violet] wrote:
[violet] wrote:ideally you should be able to bookmark the forum, and have any autologin work -- and I'll address this if the forum proves viable.

Another thing I'll do in that case is allow direct logins via the forum, thus eliminating the need to click a forum "Login" link, visit the login page, login, get taken to your home page, then find your way back to where you were.


Done. You should now be able to bookmark http://forum.nationstates.net and have autologin work upon using it. Furthermore, you can stay completely within the forum to login and logout, rather than needing to bounce back to the game.

This was a big change and probably introduced a horrendous bug or two. Please report any weirdness!

iloveyouiloveyouiloveyouiloveyou

:bow: :bow: :bow:

I just have one question. If you are typing an extremely long post on the forums and it logs you out in the process, when you press "post" and it tells you it logged you out, can you log in and then it will go ahead and post under your name? (sorry if this is not worded clearly)
Maredoratica – A Realistic Modern Tech Roleplaying Region
"What is written without effort is in general read without pleasure." - Samuel Johnson

Wiki | Using Satellites in Warfare | BoF 34 Champion
Designer of Ex-Nation Flag | AKA: Kampf

User avatar
Rambhutan
Negotiator
 
Posts: 5227
Founded: Jul 28, 2004
Ex-Nation

Re: Autologin on forum

Postby Rambhutan » Tue Jun 23, 2009 4:59 am

When I log on now I get a "your browser is refusing to accept cookies" message. Logging on a second time works fine , my browser is set to accept cookies so I am not sure why it is doing this.
Are we there yet?

Overherelandistan wrote: I chalange you to find a better one that isnt even worse

User avatar
New South Hell
Spokesperson
 
Posts: 161
Founded: Feb 15, 2008
Ex-Nation

Re: Autologin on forum

Postby New South Hell » Tue Jun 23, 2009 5:06 am

Rambhutan wrote:When I log on now I get a "your browser is refusing to accept cookies" message. Logging on a second time works fine , my browser is set to accept cookies so I am not sure why it is doing this.


More generally, it appears you cannot log in if you do not have a cookie for NationStates. I discovered it with a script, but I have duplicated it using IE, which I had never previously used to login to NationStates. A second login attempt with IE worked no better. My conclusion is that this is a problem for people wishing to try a new browser, prople moving to a new computer, and people who like to occasionally clear their cookies for privacy reasons.

I understand in principle how to reach into the Firefox cookie jar in my script to obtain a cookie, so us scripters can work around it (if we're running on a machine that has any kind of cookie for NS at all), but it would seem to be more of a problem for people in one of the cirucmstances above.

- nsh -

User avatar
Bears Armed
Postmaster of the Fleet
 
Posts: 21475
Founded: Jun 01, 2006
Civil Rights Lovefest

Re: Autologin on forum

Postby Bears Armed » Tue Jun 23, 2009 5:30 am

Rambhutan wrote:When I log on now I get a "your browser is refusing to accept cookies" message. Logging on a second time works fine , my browser is set to accept cookies so I am not sure why it is doing this.

I get that mesage too, but although the screen doesn't initially show me as logged into my nation it does do so once I've gone from the front page to these forums... and then I can "return" to the nation's page, and find that I am logged-in there after all... :blink:
Last edited by Bears Armed on Tue Jun 23, 2009 5:31 am, edited 1 time in total.
The Confrederated Clans (and other Confrederated Bodys) of the Free Bears of Bears Armed
(includes The Ursine NorthLands) Demonym = Bear[s]; adjective = ‘Urrsish’.
Population = just under 20 million. Economy = only Thriving. Average Life expectancy = c.60 years. If the nation is classified as 'Anarchy' there still is a [strictly limited] national government... and those aren't "biker gangs", they're traditional cross-Clan 'Warrior Societies', generally respected rather than feared.
Author of some GA Resolutions, via Bears Armed Mission; subject of an SC resolution.
Factbook. We have more than 70 MAPS. Visitors' Guide.
The IDU's WA Drafting Room is open to help you.
Author of issues #429, 712, 729, 934, 1120, 1152, 1474, 1521.

User avatar
Erastide
Retired Moderator
 
Posts: 1299
Founded: Antiquity
Democratic Socialists

Re: Autologin on forum

Postby Erastide » Tue Jun 23, 2009 6:38 am

Yeah, when I loaded my nation page the sidebar didn't load, when I tried to click on something, it gave me an error message. Then when I logged in, it said I didn't accept cookies. Third time, it actually logged me in.

Forumside, when I first went there it didn't load the sidebar normally, but after I'd logged in the third time to the game it did.

User avatar
[violet]
Executive Director
 
Posts: 16205
Founded: Antiquity

Re: Autologin on forum

Postby [violet] » Tue Jun 23, 2009 4:25 pm

Yep, that's pretty horrendous. Thanks for the reports! Now fixed.

User avatar
Singaporen Empire
Spokesperson
 
Posts: 199
Founded: Oct 29, 2022
Father Knows Best State

Postby Singaporen Empire » Wed Apr 17, 2024 3:31 am

This should be locked?
Just a fan of BFDI in Singapore.
Just TG me and I'll make the art within 1 week. After that, I'll put it in this dispatch.
Singaporen Empire :D
Founded: OCT 29 2022

Hi. I am Singaporen Empire. I draw countryball art and you can use them for any sort of project thing! To do that just TG me.
Sadly, most nations know me as Singaporen Empire, so I can't change this name...
See you around... :P

User avatar
United Calanworie
Technical Moderator
 
Posts: 3763
Founded: Dec 12, 2018
Democratic Socialists

Postby United Calanworie » Wed Apr 17, 2024 4:18 am

I don't know why you dug up a 15 year thread to comment that. iLock.
Trans rights are human rights.
||||||||||||||||||||
Discord: Aav#7546 @queerlyfe
She/Her/Hers
My telegrams are not for Moderation enquiries, those belong in a GHR. Feel free to reach out if you want to just chat.


Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Barbariax, Cantuariensis, Dayganistan, Greater Fennoskandia, Grishahakkaverchynot, Ioudaia, Istastioner, Kyrusia, Lumaterra, Thorn1000, Trigori, Weitzel

Advertisement

Remove ads