Solution to frequent login problem #Logout cookie error causing login problem# by Cyberian75 The username and password cookies should be deleted from your system when you click on "logout" so that it doesn't generate "wrong username/password" error when you try to relogin with a different username/password. However, this isn't happening. In b2login.php file under "logout" (action) section... Locate: [code] setcookie("cafeloguser", $user_login, time()+30000000); setcookie("cafelogpass", $user_pass, time()+30000000); [/code] or, in some versions, [code] setcookie("cafeloguser"); setcookie("cafelogpass""); [/code] Replace it with: [code] setcookie("cafeloguser", "", time()-31536000); setcookie("cafelogpass", "", time()-31536000); [/code] IF YOU RUN MULTIPLE BLOGS ON THE SAME DOMAIN: Also, add in your domain and b2 directory into every instance of the setcookie function in b2login.php file, especially if you have multiple b2 installed on the same domain, to differentiate each blog in their own directories. Example: setcookie("cafeloguser", $user_login, time()+31536000, "yourdomain.com/b2mike"); Source: http://cafelog.com/board/viewtopic.php?t=4769