title: The request has been black-holed - CakePHP
body: <p>I'm using CakePHP's <code>SecurityComponent</code>. And it's very essential as it saves forms from <code>CSRF</code> attacks. My project has total 10-12 forms and this is my first CakePHP project. After enabling <code>SecurityComponent</code> I was in a bit trouble but could get rid off after some careful minutes. This is the last form of my project and seems everything is correct to me but still the form is being black holed :(. Can anybody please tell me the problem? I don't want to disable CSRF checking or <code>SecurityComponent</code>. Here is my view code:</p>
  
  <pre><code>&lt;?php
  echo $this-&gt;Form-&gt;create('Record');
  ?&gt;
  &lt;script type="text/javascript"&gt; var me = new MetroExam(); &lt;/script&gt;
  &lt;div class="exam_paper"&gt;
      &lt;div class="question_box" id="q_b"&gt;
          &lt;div class="q_n_a_header"&gt;
              &lt;div class="instructions"&gt;
                  &lt;b&gt;Instructions:&lt;/b&gt;&lt;br&gt;
                  &lt;?=$inst['value_text']; ?&gt;
              &lt;/div&gt;
              &lt;div id="timer"&gt;Please wait&lt;/div&gt;
          &lt;/div&gt;
          &lt;div id="q_paper"&gt;
             &lt;img id="q" style="display: none;" src="/oes/&lt;?=$exam['path'].'?ts='.time(); ?&gt;"&gt;
  
              &lt;img id="loading_img" src="/oes/img/loading.gif"&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="ans_box" id="a_b"&gt;
          &lt;!-- information about answer paper. !important --&gt;
          &lt;?php
          $i = 0;
  
          //these fields are essential for evaluating ans paper
          echo $this-&gt;Form-&gt;hidden('submit', array('value' =&gt; 'true'));
          echo $this-&gt;Form-&gt;hidden('start_time', array('value' =&gt; ''));
          echo $this-&gt;Form-&gt;hidden('end_time', array('value' =&gt; ''));
          echo $this-&gt;Form-&gt;hidden('duration', array('value' =&gt; ''));
          echo $this-&gt;Form-&gt;hidden('valid', array('value' =&gt; ''));
          echo $this-&gt;Form-&gt;hidden('passed', array('value' =&gt; ''));
  
          //options for all radio
          $options     = array(
              '1' =&gt; 'A',
              '2' =&gt; 'B',
              '3' =&gt; 'C',
              '4' =&gt; 'D'
          );
          if($exam['choices'] == 5){
              $options['5'] = 'None';
          }
  
          $questions = (int)$exam['questions']; // 40 &lt;= $exam['questions'] &lt;= 100
          $i = 1;
          while($questions--){
              echo '&lt;div class="'.(($i%2)==1?'each_answer_even':'each_answer_odd').'" id="ans-'.$i.'"&gt;';
              echo '&lt;div class="q_number"&gt;'.($i &lt;= 9 ? '0'.$i : $i).'&lt;/div&gt;';
              $name       = 'ans'.str_pad($i, 3, '0', STR_PAD_LEFT);
              $attributes = array('empty' =&gt; false, 'legend' =&gt; false, 'onclick' =&gt; 'me.answer_click('.$i.')');
              echo '&lt;div class="mcq"&gt;'.$this-&gt;Form-&gt;radio($name, $options, $attributes).'&lt;/div&gt;';
              echo '&lt;/div&gt;';
              $i++;
          }
          echo $this-&gt;Form-&gt;end('Submit');
          ?&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This is basically a MCQ exam form. Where each group has 4 or 5 radio buttons and total 40 to 100 groups in a form. I'm using CakePHP 2.4. Thanks in advance.</p>