Project

General

Profile

Login cookie stopped working?

Added by Mark Travis 9 days ago

Anyone else have issues with the login cookie?

I've had my app set up just like the Hangman sample game where it saves my password for two weeks and logs me in automatically. It's been working fine for years.

I recently upgraded my Chrome browser and the automatic login function no longer works. (MacOS Sonoma latest as well)

Same thing with Firefox.

Not sure if it's a browser thing or an OS thing.

Thought I'd ask here first before I spent a ton of time chasing it down.


Replies (1)

RE: Login cookie stopped working? - Added by Mark Travis 4 days ago

Well, I don't know why it fixed it, but I deleted all rows from my auth_token table and login cookies are working again.

When I stepped through the whole auth token process in the debugger, I saw it couldn't find the hash value it was looking for.

Somewhere along the way, it stored a hash value in a cookie but the hash value didn't get recorded to the auth_token table. That's my hypothesis. No idea why, really.

    (1-1/1)