Hey,
I have the same issue here. I am working on FB login with CakePHP 2.0
& everything works perfect, but when i get the user details from FB &
login that user to portal, Auth session gets created. But after
logging in user get redirected to dashboard, between this the Auth
session gets destroyed.
Session component is already added to AppController.
I tracked a lot...but no solution. Please help ..
On Apr 20, 6:15 am, Kanwal <enggkanwalj...@gmail.com> wrote:
> Have you added Session component in controller properly
> var $component=array('Session');
>
> On Apr 20, 2:52 am, Ralf Rottmann <ralf.rottm...@grandcentrix.net>
> wrote:
>
>
>
>
>
>
>
> > Using latest stable version 2.1.1:
>
> > Having this in the controller that is called first:
>
> > $this->Session->write('user', $uid);
> > $this->redirect('/home');
>
> > and this in HomeController:
>
> > var_dump($this->Session->read('user');
>
> > Problem: The session var in HomeController is no longer set. Instead,
> > a new session is created. Any idea why CakePHP looses the Session on
> > redirects?
>
> > I already set security level to low and checked cookie domain.
> > --
>
> > 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
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Sunday, April 22, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment