you must use this method in BeforeFilter function:

$this->Auth->allow('index');



On Oct 20, 11:48 am, Davit Barbakadze <[email protected]> wrote:
> Still not confident on this platform. It could be that the answer is
> self-obvious, but just can't get my mind around it just yet.
>
> I want my main page to be loaded despite of user authentication
> status. Then I get additional content via Ajax, which should then
> depend on whether user has been authenticated or not. So how should I
> load the main page without redirect to login view going on behind the
> scenes?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to