Skip to:
Content
Pages
Categories
Search
Top
Bottom

Cookies not shared between 0.9 and 2.5


  • intellivision
    Participant

    @intellivision

    Logging in to WP 2.5 logs me out of bbPress 0.9.0.1, and vice-versa.

    Cookie information with bbPress .9

    name: wordpress_613ba28cb41760cadf1f08a898f98620
    contents: xxxx%7C1208969840%7C594bfc5f83a1e8af5dd70d130d4c0b89
    website: coloradoboards.com
    path: /appleswitcher/wp/
    date: Wed, Apr 23, 2008 10:57:19 AM

    Cookie information with WP 2.5

    name: wordpress_613ba28cb41760cadf1f08a898f98620
    contents: xxxx%7C1208969965%7Cba3e6d706d0ec0feff73e34afde5d9f0
    website: coloradoboards.com
    path: /appleswitcher/wp/
    date: Wed, Apr 23, 2008 10:59:23 AM

    …where xxxx is a not my username… just using that for security.

Viewing 7 replies - 1 through 7 (of 7 total)

  • chrishajer
    Participant

    @chrishajer

    Is the secret different between WordPress and bbPress? I’m not sure how this works, but, I’m “willing to learn“.


    Sam Bauers
    Participant

    @sambauers

    I notice a long expiration date, so I assume you checked the “remember me” option in both instances. Does it happen when you don’t check “remember me”?


    chrishajer
    Participant

    @chrishajer

    Fourteen days is long? Or you get 14 days when you click the “remember me”? What is the default length for the cookie when you don’t click “remember me”?


    intellivision
    Participant

    @intellivision

    Same behavior when I don’t check “remember me”. Logging in one logs me out of the other.

    Note: I just today moved the site from a dev area at

    coloradoboards.com/appleswitcher/wp/

    to

    appleswitcher.com/wp/

    so further cookie path examples will reflect that.


    fooddude
    Member

    @fooddude

    I have the same problem with 2.5 and .9.01. Driving me crazy logging back in every time I switch. Yes, remember me is checked, and it’s happening on multiple browsers. Cookies are working fine for me everywhere else.


    Sam Bauers
    Participant

    @sambauers

    OK, so it looks like you have matched the domains and paths correctly. Have you matched the bbPress “BB_SECRET_KEY” in bb-config.php to the WordPress “SECRET_KEY” in wp-config.php?

    Do the secrets stored in each database match?

    In bbPress it is the “secret” meta_key for topic “0” in bb_topicmeta.

    In WordPress it is the “secret” meta_key in the wp_options table.

    (Keep in mind that the cookie contents aren’t meant to be the same as they are hashed against the login time.)


    fooddude
    Member

    @fooddude

    Doh! Secrets stored in the database didn’t match. Edited and now everything works fine. Not sure how that happened, but thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar