LGF Login Notes 6 - Asynchronous Login
Ajax is back in our login form tonight. Now when you log in, the system uses Ajax techniques to communicate with our server and authenticate you in the background, nearly instantly, without requiring a page reload.
One hitch: I’m still working out some issues around the comment form with Ajax login, so the non-reloading version of the login will only take place on the front page or an individual entry page without comments. On pages with comments, you get the old school login with reload.
If you’re using a browser that doesn’t support Ajax, the system will gracefully fall back to using the non-Ajax login. That’s the theory anyway; I don’t have access to a browser that can’t do Ajax so it’s currently untested.
And I’m very glad to report that the logout-too-early bug has been well and truly slain.



