Slig wrote:Once connected with ManiaConnect, when calling :we actually get the maniaplanet sign-in page., which is bad as the user just wanted to logout and not to logon again... without a way to back to original site !$trackmania->logout();
header('Location: '.$logoutURL);
It should just register the logout then redo a location to the original page.
(i did not checked, but it is probably the same for trackmania webservices ?)
I actually have the same problem: with my web browser it redirects me to the login page (without logging me out after!). So it doesn't work.
Same with ManiaPlanet. When I click on my logout button, it redirect me on my page, without doing anything. Sometimes (when spamming) it shows me that an error occured.
Maybe I'm not doing it correctly?
If you need my code and a manialink to test, PM me.
(didn't create a new topic cuz i have the same problem as Slig, who reported it here)