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

2011-04-30 Thread Dave
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  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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


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

2011-04-29 Thread Jeremy Burns | Class Outfit
There's not much info to go on here. Presumably you are using the Auth 
component and the user is logged in? If so, is the action she is trying to 
access allowed? Look in $this->Auth->allow in the controller (or app_controller 
is allowed actions have been set there).

Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
http://www.classoutfit.com

On 30 Apr 2011, at 04:15, mattalexx 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+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


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

2011-04-29 Thread mattalexx
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php