title: Check whether a PHP session exists or expired using AJAX
body: <ol>
  <li><p>How to set the php session time out, I'm trying like below, but I dont think it works</p>
  
  <p><code>ini_set("session.gc_maxlifetime", 600);</code></p></li>
  <li><p>How to find out whether a php session exists or expired using ajax (javascript)?</p></li>
  </ol>
  
  <p>Regards</p>