After installing cakephp, I ran (with some diffuculties) the blog tutoral from the cakephp cookbook.

It's a very nice tutorial, and it is also a good starting point to start progrmming your own application.

One of the first thing I wanted to do, was the setting of the timeout for the logged in users; cakephp has a very nice and clean structure, so the settings are where they have to be, in the Config directory.

 

cakephp

With your favourite text editor, open the app/Config/core.php file, then search for Session. In the related section you can configure the session timeout, for example I set the timeout to 3 minutes writing the following small piece of code:

        Configure::write('Session', array(


                'defaults' => 'php',


                'timeout' => 3 //3 minutes


        ));


 

 

Gg1