CakePHP session lost in Safari and IE between pages on Facebook -
i'm developing facebook app on cakephp framework , i'm trying 1 simple thing:
// user $user = $this->facebook->api('/me'); // store user id session $this->session->write('user.id', $user['id']); but alter page session lost in safari , cannot id session no matter what.
i have found numerous solutions here , on other forums tried them all, haven't managed solve problem. nil works me or have been doing wrong... managed found working solution this?
any help appreciated, thnx.
this proper code can download github
//example appcontroller setup public $components = array('session', 'auth' => array( 'authenticate' => array( 'form' => array( 'fields' => array('username' => 'email') ) ), 'authorize' => 'controller' ), 'facebook.connect' => array('model' => 'user') ); https://github.com/webtechnick/cakephp-facebook-plugin
facebook session cakephp facebook-php-sdk cakephp-2.5
No comments:
Post a Comment