I recently made three Cake apps, and all three shared this issue. The configuration is mostly stock, and I use this as session parameters.
Configure::write('Session', array( 'defaults' => 'php', 'cookie' => 'test' ));
After many searches, everyone just says that the security level is too high, but I never changed this value, it is:
Configure::write('Security.level', 'medium');
Change I also tried with a low degree of security and no change.
I use only basic auth to check if the user is logged in.
After logging into the cookie, three hours will expire and the expiration date will not be updated until I log in again, is this normal?
It seems that I do not replicate the problem at all, sometimes I log in and the very next click will log out again, and in other cases it will last some time.
I use Chrome on Windows 7 and there is no AJAX on the site.
Any ideas? Thanks.
472084
source share