Closed dario1985 closed 12 years ago
This isn't the case in 2.0. In fact, SessionComponent::start() has been removed from the API. So this is a 1.3 fix only. I appreciate the patch, if you wouldn't mind doing a pull request I'll make sure it makes it into the repository.
Thank you, I just sent the pull request.
Though I didnt found a better workaround for the issue
Thank you, merged into master. Thank you for your contribution.
Seem that Facebook SDK class breaks cakephp session behavior starting session outside of session component, because of CakePHP1.3 (2.0+ too?) starts session in SessionComponent::startup() after Components::initialize and Controller::beforeFilter() in Controller::startupProcess.
So, database and cake sessions dont work.
I temporary solved with a workaround patching ConnectComponent::initialize() to force Session start before of Facebook::__construct().