bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

Cookies not shared between 0.9 and 2.5

(8 posts)
  • Started 7 months ago by intellivision
  • Latest reply from fooddude
  • This topic is not resolved
  1. 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.

    Posted 7 months ago #
  2. Is the secret different between WordPress and bbPress? I'm not sure how this works, but, I'm "willing to learn".

    Posted 7 months ago #
  3. 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"?

    Posted 7 months ago #
  4. 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"?

    Posted 7 months ago #
  5. 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.

    Posted 7 months ago #
  6. fooddude
    Member

    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.

    Posted 7 months ago #
  7. 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.)

    Posted 7 months ago #
  8. fooddude
    Member

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

    Posted 7 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.