Friday, May 29, 2009

Re: Involuntary logouts - WHY?

Thanks. I've implemented this change and pushed another build for
testing. Meanwhile, would the following setting in the core.php file
have any effect?

Configure::write('Session.start', true);
Configure::write('Session.checkAgent', true);

Do these have anything to do with the Auth component?

Thanks.

On May 26, 7:51 pm, Miles J <mileswjohn...@gmail.com> wrote:
> Try changing this:
>
> $this->Auth->allow('display');
> $this->Auth->allow('recoverpassword_submit');
> $this->Auth->allow('*');
>
> To this:
>
> $this->Auth->allow('display', 'recoverpassword_submit');
>
> By putting the * your overwriting the other 2. You also only need to
> call allow() once but supply many arguments for each action.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: