cakePHP sessions

I have been working with the cakePHP framework for some time, and ben mostly happy with it, but I had some problems with loosing sessions, when the user clicks on links to fast, today I finally found the reason and solution. By googling around (and searching the cakePHP maillinglist) i found this blog post by Kester Dobson, which had a comment that pointed me in the right direction.

So the sort answer is: set Security.level to medium in /config/core.php, this ensures that CakePHP session IDs are not regenerated between requests.

This seems to effectively solve the problem.

Leave a Reply

Your email address will not be published. Required fields are marked *