mitxela.com forum
Welcome. Please log in or register.

Forum session glitch fixed
mit Posted: 7 Jul 2022, 10:46 AM
Avatar
yeah whatever

Admin
Posts: 562
Joined: 4-May 16
A glitch in the session logic for this forum had been bugging me for a while and I finally got round to looking into it. It was pretty difficult to chase down, essentially sometimes the forum would say "You are not signed in, please log in" and then you'd click "log in" and it would say "you are already signed in".

The problem (as if anyone cares) was caused by the browser session outliving the server-side session and some of my code being overly cautious about "invalid" session data.

While looking into this I noticed some failed registrations/verifications which may or may not be legitimate users. It's a tough balance trying to keep out spambots but let real users sign up. If anyone has problems registering or logging in on the forum, please let me know (by email if necessary) or I'll never know to look into it.

-------------
[top]

Sign in to post a reply.