title: Parallel processes, ignore_user_abort and set_time_limit(0)
body: <p>We're working on a system that uses <strong>ignore_user_abort()</strong> and <strong>set_time_limit(0)</strong> in one of the scripts.</p>
  
  <p>We have to send one HTTP 1.1 packet to this script, with <strong>Jquery</strong> and then we have to resume and keep using other scripts inside the application.</p>
  
  <p>But once the packet is sent, the session <strong>is somehow locked,</strong> and if you try to refresh or load any other script inside the domain, with the same browser, it <strong>won't load until the previous one finishes</strong> (and that might take more than 2 hours).</p>
  
  <p>However it's possible to keep using the application from another browser, with the same username and password, which makes me think it's related to the session.</p>
  
  <p>We need to prevent this or solve this somehow, to make this script run as a background processes without interfering with the functioning of the rest of the application.</p>
  
  <p>Any idea how, or why this happens and how we could solve it?</p>
  
  <p><strong><em>The AJAX request looks like this:</em></strong></p>
  
  <pre><code>&lt;script&gt;
  $('#launch').click(function () {
  
  //acomodamos la UI
  $('#launch').hide();
  $('#c_wait').slideUp();
  $('#c_started').fadeIn("slow");
  
  //send the request
  $.get("modules/_map.php", { funcion: "launch", scan_id: "&lt;?php echo $scan-&gt;id; ?&gt;" } );                     
  });
  &lt;/script&gt;
  </code></pre>