title: Yii Captcha don't refresh image on refresh button clicked
body: <p>I don't know why my Captcha image do not refresh when i click on refresh link.</p>
  
  <p>My code is :</p>
  
  <pre><code>&lt;?php $this-&gt;widget('CCaptcha'); ?&gt;
  &lt;?php echo $form-&gt;textField($model,'verifyCode'); ?&gt;
  </code></pre>
  
  <p>I saw XHR response , it was empty and i checked the link of the refresh link , some thing like tis :</p>
  
  <blockquote>
    <p>mydomain/captcha?refresh=1&amp;_=1367673730496</p>
  </blockquote>
  
  <p>and it return an image but it should return somthing like </p>
  
  <blockquote>
    <p>{"hash1":311,"hash2":311,"url":"/mydomain/captcha?v=518509b295d06"}</p>
  </blockquote>
  
  <ul>
  <li>I saw above link in the other application of mine which works fine with CCaptch.</li>
  <li>On page refresh , Captcha image changes.</li>
  </ul>
  
  <p>The corrupted captcha sent one XHR , the refresh one but the fine Captcha should send two as i saw in the other application,one for refresh and other for getting image.</p>
  
  <p>What should i do ?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I found another fact :</p>
  
  <p>functional Captcha works with jquery.min but corrupted one works with jquery !! but i don't add anything to header , they added by Yii.</p>
  
  <p><strong>Second Edition:</strong></p>
  
  <p>I found two files which handle captcha in yii framework and i see when i send this request :</p>
  
  <blockquote>
    <p>mydonmain/controller/captcha?refresh=1</p>
  </blockquote>
  
  <p>And get </p>
  
  <pre><code>print_r($_GET);
  die();
  </code></pre>
  
  <p>it return :</p>
  
  <blockquote>
    <p>Array ( [/controller/captcha] => )</p>
  </blockquote>
  
  <p>which means it don't understand get->refresh request !! somehow the $_GET request is disabled !!</p>