This type of code (for example)
setcookie( 'Elgg', '', -3600, '/', '.domain.com', false, false);
setcookie( 'mybbuser', '', -3600, '/bb/', '.domain.com', false, false);
…will work for a simple multi-logout of Elgg, MyBB and other types of sites.
The same type of code:
setcookie( 'http_auth_ext_complete', '', -3600, '/d/', '.domain.com', false, false);
// setcookie( 'http_auth_ext_complete', '', -3600, '/d/', 'domain.com', false, false);
// setcookie( 'http_auth_ext_complete', '1', -3600, '/d/', '', false, false);
…will not work on Drupal 6.x.
Note: The Drupal cookie uses ‘host’ instead of ‘domain’, neither with or without the ‘.’ or ‘’ works so far.
How can I do the same with Drupal?
Thank you.