webtechnick / CakePHP-Facebook-Plugin

CakePHP Facebook Plugin
http://facebook.webtechnick.com
445 stars 138 forks source link

After logout , no cakephp session is created when you login #113

Open rightawayai opened 11 years ago

rightawayai commented 11 years ago

the issue is different in different browsers, this is in google chrome

as a work around to logout, I am doing $this->Session->destroy(); in users logout and redirecting Facebook helper's logout to Users logout, but once I do this and I login again, there is no cakephp session created,

$this->Auth->user(); $this->Connect->user() both show null even after login.

I am using Cakephp 2.2.4

simonbuehler commented 11 years ago

try this https://github.com/webtechnick/CakePHP-Facebook-Plugin/issues/127#issuecomment-17429662