Re: Sessions expiring when they should not

2012-09-27 Thread Chris Cinelli
BTW, another problem of setting the cookie in 6 hours is that if the user has a clock that is not synced (i.e. more than 6 hours ahead), the browser will expire the session cookie and the user cannot stay logged in. Best, Chris On Tue, Sep 4, 2012 at 3:07 PM, Chris Cinelli

Re: Sessions expiring when they should not

2012-09-04 Thread Chris Cinelli
Anybody that know at least what it is the expected behavior? Is it normal that the CAKEPHP cookie has 6h expiration after login and never get updated? Best, Chris On Fri, Aug 31, 2012 at 2:20 PM, Chris Cinelli chris.cine...@formativelearning.com wrote: We are using CakePHP 2.2.1 on Ubuntu

Re: Sessions expiring when they should not

2012-09-04 Thread Chris Cinelli
It looks like the code is in CakeSession.php I think I solved the cookie expiration problem with this in the core.php: Configure::write('Session', array( 'defaults' = 'php', 'cookieTimeout' = 0, //Lives until the browser is closed. 'checkAgent' = false //To fix a

Sessions expiring when they should not

2012-08-31 Thread Chris Cinelli
We are using CakePHP 2.2.1 on Ubuntu 12.04 but I notice this behavior also on my Mac running on XAMPP and as far as I know we have always had this problem. I would expect that: 1. The session expires if after a certain amount of time if there are no more calls to the server. 2. Activity