title: cookies and sessions is automatically destroyed after 5 minuts
body: <p>If the user is not working in my application more than 5 minuts, my cookies and session want to be detroyed automatically.</p>
  
  <p>in module config  </p>
  
  <pre><code>'session' =&gt; array(
        'cookie_lifetime' =&gt; 60, 
        'gc_maxlifetime' =&gt; 60,
        'cache_expire' =&gt; 60, 
        'remember_me_seconds' =&gt; 60,
        'use_cookies' =&gt; true, 
        'cookie_httponly' =&gt; true,
  ), 
  </code></pre>
  
  <p>in my module</p>
  
  <pre><code> $config = $e-&gt;getApplication()-&gt;getServiceManager()-&gt;get('Configuration'); 
   $sessionConfig = new Session Config(); 
   $sessionConfig-&gt;setOptions($con fig['session']); 
   $sessionManager = new SessionManager($sessionConfig); 
   $sessionManager-&gt;destroy(); 
   Container::setDefaultManager($sessionManager);
  </code></pre>