Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: cookies (subtle bug?) single sign-on bbpress and wordpress


harryworld
Member

@harryworld

horrorshow,

Thanks for the detailed instructions. After,

1. modifying the config.php as you stated above

2. modifying bb_cookie() by not sending the time to setcookie()

I am able to login and logout on either side, in any sequence.

One more thing that I have notified (even not serious, but worth mentioning), is that if

1. login on either side

2. logout on WPMU

3. visit bbPress, the first time will show up the user is still logged in

4. refresh the page, or visit any page, it shows the user NO LONGER logged in

I guess there may be some logic missing in bbPress for checking the existence of cookie and clear the session, on the first attempt.

Skip to toolbar