Google Friend Connect: Server side logout…


Well apparently it’s not possible, but i got an idea to kinda solve that. This is the process:

-You handle the login with javascript, once the user is logged with google connect, your callback will do a second login with your own server, passing mabe the user id or screen_name or whatever you need. After your server is logged and respond ( everything is done with ajax at this point ) you do a logout from google connect with the google api.

So this way you now have your logged session controlling the login/logout and not that crazy cookie.

 

Advertisements