title: PHP header(): 302 Moved Temporarily error
body: <p>In my webapp I have opened a modal and in that modal I'm processing some data using with ajax in another page(ajax.php), after the processing is done in the ajax.php I do:</p>
  
  <pre><code>header("location: blah.php");
  </code></pre>
  
  <p>But since I'm in another page and the whole process is going on with ajax request the page doesn't do anything, when I check the ajax request via FireBug, I see the request goes red with this error:</p>
  
  <pre><code>302 Moved Temporarily error
  </code></pre>
  
  <p>How can I redirect in this scenario?</p>
  
  <p>Thanks in advance</p>