I just had this issue today with Cake 2.3. I didn't wanted to change the
official Facebook SDK nor set the Security.level to low.
This is what worked for me...
CakeSession::read('user');
App::uses('Facebook', 'Vendor/facebook');
$Facebook = new Facebook(array(...));
That way I'm making sure I try to access the session through cake and
therefore initiate the session. Once it's there, the Facebook session won't
start anymore and it works pretty smoothly right now.
I guess you can do it with a simple CakeSession::check('....'); as well.
Really up to you
Am Freitag, 20. April 2012 00:42:10 UTC+2 schrieb Ralf Rottmann:
>
> Hi there,
>
> I'm using the official Facebook PHP SDK but it seems as if this messes
> with the Session. Any idea?
> --
>
> GrandCentrix GmbH
> Lüderichstrasse 2-4
> 51105 Köln, Deutschland
>
> Amtsgericht Köln | HRB 70119 | Geschäftsführer: R. Freygang, R. Rottmann,
> M. Willnow | USt.-IdNr.: DE266333969
>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.