On Tue, Mar 15, 2011 at 3:07 PM, Eugene <[email protected]> wrote:
> I have ajax log in on my website. I have a login form element that
> displays either a login form or a link to profile page depending  if
> user is logged in or not.
>
> If i log in and got to profile page which is in users controller then
> it works fine but on all the other pages user is not logged in and
> session is completely clean of any Auth data.
>
> Both Auth and Session components are added to AppController.

Difficult to say without knowing what you've tried. Can you post
examples? Are you sure this isn't a case of cached views making it
appear you're not logged in?

What is the security setting in core.php? Do you see the same behavior
in a different browser?

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to