WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Login Cookies not being attached to response header

[Resolved] Login Cookies not being attached to response header

Viewing 3 replies - 1 through 3 (of 3 total)
  • Here is the response header from the development server running the same code. You can se the response cookies are being sent:

    HTTP/1.1 302 Found
    Date: Fri, 24 May 2013 02:18:23 GMT
    Server: Apache/2.2.22 (Ubuntu)
    X-Powered-By: W3 Total Cache/0.9.2.11
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    X-Pingback: http://domain.com/blog/xmlrpc.php
    X-Frame-Options: SAMEORIGIN
    Set-Cookie: wordpress_548d950a57c83d7fc5c2eb781062ef26=SubscriberTest%7C1369534704%7C08d4578ca9049beadffa39e0be0ea941; path=/blog/wp-content/plugins; httponly
    Set-Cookie: wordpress_548d950a57c83d7fc5c2eb781062ef26=SubscriberTest%7C1369534704%7C08d4578ca9049beadffa39e0be0ea941; path=/blog/wp-admin; httponly
    Set-Cookie: wordpress_logged_in_548d950a57c83d7fc5c2eb781062ef26=SubscriberTest%7C1369534704%7Cc41eb224ebec7f57982d0f93e70f7cff; path=/; httponly
    Set-Cookie: wordpress_logged_in_548d950a57c83d7fc5c2eb781062ef26=SubscriberTest%7C1369534704%7Cc41eb224ebec7f57982d0f93e70f7cff; path=/blog/; httponly
    Location: http://domain.com/
    Vary: Accept-Encoding
    Content-Length: 0
    Keep-Alive: timeout=5, max=100
    Connection: Keep-Alive
    Content-Type: text/html; charset=UTF-8
    Plugin Author Jeff Farthing

    @jfarthing84

    Can you test with wp-login.php and see if the same thing occurs?

    wp-login.php did work correctly.

    I finally figured out the problem. The webhost people on the production server had configured varnish to strip cookies on all pages except the ones with specific exclusions. The new login / logout pages did not have exclusions, so they had their cookies stripped by the varnish proxy.

    Once we had them add exclusions everything worked as expected.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Login Cookies not being attached to response header’ is closed to new replies.