Cookies not shared between 0.9 and 2.5
Logging in to WP 2.5 logs me out of bbPress 0.9.0.1, and vice-versa.
Cookie information with bbPress .9
date: Wed, Apr 23, 2008 10:57:19 AM
Cookie information with WP 2.5
date: Wed, Apr 23, 2008 10:59:23 AM
…where xxxx is a not my username… just using that for security.
Is the secret different between WordPress and bbPress? I’m not sure how this works, but, I’m “willing to learn“.
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”?
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”?
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
so further cookie path examples will reflect that.
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.
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.)
- You must be logged in to reply to this topic.