webtechnick / CakePHP-Facebook-Plugin

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

Facebook SDK is starting the session before CakePHP #125

Open tanis2000 opened 11 years ago

tanis2000 commented 11 years ago

After two days of debugging I found out that Facebook SDK included in this plugin starts a new session before CakePHP does. This messes up the session and anything you store in the session is lost when navigating to a new page.

You can check it out by making a Facebook app and include your CakePHP application that uses Facebook authentication.

Is there any way to force CakePHP to start the session before this component is initialized?