cakephp session code example
Example 1: session cakephp
CakeSession::read('Administrator')
= $this->Session->read('Administrator.current');
Example 2: cakephp login session
'Session' => [
'defaults' => 'php',
'timeout'=>24*60//in minutes
],