So the crux of this question is just how to prevent CakePHP from de-authenticating a session ONLY after a period of inactivity.
So, if the user does nothing then I e
the answer of Rob Forrest is the right one
Configure::write('Session', array(
'defaults' => 'php',
'timeout' => 30, // The session will timeout after 30 minutes of inactivity
'cookieTimeout' => 1440
));
cookieTimeout should be larger than timeout if you want session to be expired on inactivity only then you need to set cookieTimeout for very large number (for example 60*24*10 (10 days ))