ACTION-207: Modal login does not work when first tried

Modal login does not work when first tried

State:
closed
Person:
Jean-Guilhem Rouel
Due on:
December 10, 2013
Created on:
December 3, 2013
Related emails:
No related emails

Related notes:

Sorin and Ian (but not JG) experience this:

* Fresh browser
* Get a modal login (e.g., login from top bar or "join a group")
* Log in; response is "Cookies are blocked or not supported by your browser.
You must enable cookies to use WordPress"
* YOu can log in from the default WP login page OR by trying modal again.

Ian Jacobs, 3 Dec 2013, 15:47:25

Nope, I fail to reproduce the issue. I remember experiencing this in China, but not anymore. I wonder if that couldn't be because of a badly configured caching proxy beween you and the server.

Jean-Guilhem Rouel, 10 Dec 2013, 14:02:34

So, apparently, the issue is that Wordpress sets a test cookie (to see if cookies are enabled) when you go to wp-login.php. When you hit the POST button, that cookie is set and Wordpress is happy.
In our case, since we use a modal window, that cookie is not created before the POST (it's created during), so Wordpress thinks cookies are disabled.
The solution, found at http://wordpress.org/support/topic/cookie-error-when-logging-in is to set that test cookie on every page, since we can log in from any of them.

Jean-Guilhem Rouel, 10 Feb 2014, 10:29:06

Display change log.


Ian Jacobs <ij@w3.org>, Chair, Dominique Hazaƫl-Massieux <dom@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 207.html,v 1.1 2019/10/22 13:17:27 carcone Exp $