Saturday, April 30, 2011

Re: Sessions expiring with `Security.level` set to low and the `Session.timeout` set to 12000

Have you set it so CakePHP controls your sessions? The default is PHP,
and the session timeout is controlled in the PhP.ini for that one.

It took me a long time to work this one out!

On Apr 30, 4:15 am, mattalexx <mattal...@gmail.com> wrote:
> My client is complaining that she posts a form and gets kicked to her
> login. I have the following code in `app/config/core.php`:
>
>     Configure::write('Session.timeout', '12000');
>     Configure::write('Security.level', 'low');
>
> Sessions should last 1,000 hours with these settings, right? So what
> else is going on?
>
> I realize that the client might be reporting the bug to me incorrectly
> and that there may be other factors involved, but I'm not even sure
> what to ask her about.

--
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

No comments: