Alex

Results 7 comments of Alex

I have solved this by adding some extra code inside the _syncFacebookUser() function, inside ConnectComponent.php, after defining an array of user logout actions(actual function names, in the config file.. if(in_array($this->Controller->request['action'],Configure::read('Facebook.logout_actions'))){...

Please note that you could emulate the same logic inside the beforeFacebookLogin($user) callback...

Well, this isn't about the 'FB' session variable, there's a session variable that's set by the facebook apy itself, it is something like $_SESSION['fb_APPTOKEN_...'] (Don't recall the exact string afterwards,...

No, actually the problem i was having @aldeed was that when i was using the facebook logout function, and afterwards was redirecting the users to my logout page, it was...

no, what i am saying is that if you are planning on using a custom session handler, a cakephp one, it wouldn't work, nor does the CAKEPHP session cookie name...

@aldeed : Great suggestion aldeed, thanks!

Yes, of course, set $noAuth to true, in ConnectComponent.php