Support » Fixing WordPress » test cookie prevents login

Viewing 3 replies - 1 through 3 (of 3 total)
  • Oh yeah…. does anyone know how I can fix this?

    Or point me in the right direction?

    The cookie is set in wp-login with this code:

    //Set a cookie now to see if they are supported by the browser.
    setcookie(TEST_COOKIE, ‘WP Cookie check’, 0, COOKIEPATH, COOKIE_DOMAIN);
    setcookie(TEST_COOKIE, ‘WP Cookie check’, 0, SITECOOKIEPATH, COOKIE_DOMAIN);

    It seems that a second cookie is set if SITECOOKIEPATH is not the same as COOKIEPATH. Maybe there is only one cookie unset/delete later so that the PATH mismatch is what becomes a blocker to login?

    WordPress Have big problems with cookies. i got disconnected when /author/* try to upload a file ..

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘test cookie prevents login’ is closed to new replies.