NationStates Jolt Archive


Password saving.

Assington
14-07-2004, 08:14
I have several nations on NS that I frequently use and am used to having the password saved onto the browser.

For some reason with NS, I can only have the password of one nation saved at a time and if I tell it to remember the password of another, it forgets the other nation. I only encounter this problem on NS, other passwords are completely fine.

Has anyone else noticed this?
Unfree People
14-07-2004, 10:36
What browser do you use?

Both Firefox and IE have saved all my nation's passwords in the box.
Assington
15-07-2004, 07:42
I'm using IE
Assington
15-07-2004, 13:26
It's really weird, I'm only getting this with NS. It saves the nation name, but not the password. If I tell it to remember the password of a nation, it forgets the other one.
Carinthe
15-07-2004, 13:33
I have that too. It asks me if I like to safe the password, but I think my browser doesn't want the cookie :(

IE here.
Assington
16-07-2004, 10:39
Well it's looking more like an onsite problem then.
The Most Glorious Hack
16-07-2004, 10:43
Well... I use Mozilla, and it has no problems storing username/password for my nations.
Assington
16-07-2004, 13:16
This is really strange. I deleted the passwords and re-entered them all, still getting the problem though. It is definitely restricted to NS only.
Amicus curiae
16-07-2004, 13:34
yep. i am also using mozilla firefox and having no problems! Maybe you should look into your cookie settings?
Assington
19-07-2004, 08:24
If it was a cookie problem, it wouldn't just be restricted to NS.
Erastide
19-07-2004, 08:59
I think it's because each time you login, you get a temporary little code, which you can see when you logout. Since we have to logout to login right now, each time the logout page is a different address, which means IE doesn't register that it has a password, because it stored the password under a different address.

For example, I logout and have an address that looks like:
http://www.nationstates.net/cgi-bin/index.cgi/65193/logout=1

But if i login and logout again (same nation), the address now becomes
http://www.nationstates.net/cgi-bin/index.cgi/00594/logout=1

So it pretty much never goes back to the same address after logout.

In the previous NS, we could access the login from the generic nationstates page:
http://www.nationstates.net/cgi-bin/index.cgi/ (i think)

and since it's always the same, IE remembered the passwords.

I should note this is all speculation, but I *think* this is how it works. :p
Assington
19-07-2004, 12:46
I see. Then why is it that most are still able to save their passwords?
Unfree People
19-07-2004, 13:03
I see. Then why is it that most are still able to save their passwords?
"most" people don't save multiple passwords, I'm guessing. And the others who have replied to this thread reporting no problems are not using IE.
Pendulous
19-07-2004, 22:04
Here is a link to the generic log-on page which fixed this for me.

http://www.nationstates.net/cgi-bin/index.cgi/page=login

Whenever I switch nations all my passwords are saved for this page and like before I don't have to log-out.
Assington
20-07-2004, 07:58
Thanks for that. It works for that page, but still not the normal NS page. Is there anyone with IE that hasn't been experiencing this problem?
Unfree People
20-07-2004, 08:48
Is there anyone with IE that hasn't been experiencing this problem?
No. I had all my old passwords saved in IE back from when I used it to access the old site, and sure enough, the first one was saved, but none of the rest...

It's probably extremely low priority, but it does look like some code that needs fixing.
Phoebos
20-07-2004, 23:33
I've managed to get it working in IE, but the key point, as Erastide points out, is that the random ID string on the end needs to be removed to take you to the 'vanilla' logon page, as it were. This would be at:
http://www.nationstates.net/cgi-bin/index.cgi/ (in left hand frame) or
http://www.nationstates.net/cgi-bin/index.cgi/page=login

I can't find a white paper on how exactly IE handles saved passwords, so most of this is guessing, but I'm fairly sure from other observations that firefox handles them differently, possibly by a combination of domain and form element name, as it will often manage to hold passwords between different sections of a site.