title: PHP-HTML form submits but doesn't show value on first refresh
body: <p>I have a simple form that adds new comments on button submit. When I submit the form, the page reloads. However the result is not visible on the first refresh. When I refresh the page again, (without form re-submission) then I get to see the result. Any ideas why it behaves like that?</p>
  
  <pre><code>    &lt;form id="formid" action="" method="POST" &gt;
        &lt;div&gt;
          &lt;textarea name="discussion" id="discussion"&gt;&lt;/textarea&gt;
       &lt;/div&gt;
       &lt;div&gt;
         &lt;button type="submit" name="new_comment_submit" value="new_comment_submit"&gt;Submit&lt;/button&gt;
      &lt;/div&gt;
    &lt;/form&gt;
  </code></pre>
  
  <p>The data are send as JSON and on the view I retrieve them via GET</p>