Zend Framework 2 session life time
问题 I am trying to set the max life time of a session with the \Zend\Session\Container . To test it I put it to 1 sec. Now I looked at the docs So i did $config = new StandardConfig(); $config->setOptions(array( 'remember_me_seconds' => 1, )); $manager = new SessionManager($config); $session = new Container('user', $manager); But no success. Then I started googling and found this answer So I made the config to return array( 'session' => array( 'remember_me_seconds' => 2419200, 'use_cookies' =>