Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Where do I define USER_COOKIE, PASS_COOKIE, AUTH_COOKIE, SECURE_AUTH_COOKIE, LOG

Both installation on WP (2.8)

WP1 is on domain.com, and WP2 is on sub.domain.com (same domain name)

Both allow single sign on between WP1 and WP2 with this on wp-config.php

define(‘COOKIE_DOMAIN’, ‘.domain.com’);

define(‘COOKIEPATH’, ‘/’);

define(‘AUTH_SALT’, ‘6428746726478264’);

define(‘LOGGED_IN_SALT’, ‘74829749827489237424’);

define(‘AUTH_COOKIE’, ‘7482647263478623478’);

define(‘SECURE_AUTH_COOKIE’, ‘985847584758475’);

define(‘LOGGED_IN_COOKIE’, ‘98752975897435894375894’);

define(‘TEST_COOKIE’, ‘8947519875894758495’);

So I basically override the cookie also.

Now I installed BBPress (1.0)

These WP-CONFIG setting won’t work even I added BB_LOGGED_IN_COOKIE variable

It only works with BBPress if i use these only

define(‘COOKIE_DOMAIN’, ‘.domain.com’);

define(‘COOKIEPATH’, ‘/’);

define(‘AUTH_KEY’, ‘xxxxxxxxxxxxxxxxx’);

define(‘SECURE_AUTH_KEY’, ‘xxxxxxxxxxxxxxxxx’);

define(‘LOGGED_IN_KEY’, ‘xxxxxxxxxxxxxxxxxx’);

define(‘NONCE_KEY’, ‘xxxxxxxxxxxxxxxx’);

define(‘AUTH_SALT’, ‘xxxxxxxxxxxxxxxxx’);

define(‘LOGGED_IN_SALT’, ‘xxxxxxxxxxxxxxxx’);

But if I add anything with _COOKIE bbpress + wp signed on won’t work, if I take it out, it will with with BBPress but multiple WP single sing on won’t work

Thanks guys

Victoria

Skip to toolbar