Thread:Project:Support desk/Wikifamily and Shared database setup/reply (4)

Thank you for your help. I can now create an accounts from both sites and login from both sites, but I cant get the cookies work? Can you see what am i doing wrong here? I have 'de.test.mainwiki.com' with 'de_mainwiki' database and 'test.mainwiki.com' with 'en_mainwiki' DB. I have added these lines to both english and deutch Localsettings.php $wgSharedDB = 'en_mainwiki'; $wgSharedTables = array('user','user_properties');   $wgCookieDomain = "test.mainwiki.com";

Now if I login and then I go to another site it doesnt auto login, but it gives me sometimes automatically to a 'username' field value. Lets say I have logged in on English site with username: Tommy and then on German site if i go to sign in it gives value to username 'Tommyen_mainwikiLoggedOut=1410136520'. Also if i login on other site with same user it logsout from another site. Can you see what have I messed up here? Thank you very much.