title: OpenCart - How do you increase the Admin session timeout?
body: <p>Currently the Admin session in OpenCart is about 30 seconds. I was wondering is there a PHP file or is there some way I can increase the timeout session for the login?</p>
  
  <p>Currently I have been told this solution works but it does not:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  function pingServer() {
      $.ajax({ url: location.href });
  }
  $(document).ready(function() {
      setInterval('pingServer()', 60000);
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>This file has been placed in <strong><em>admin/view/template/common/header.tpl</em></strong></p>