title: is this all i need to do to prevent csrf attacks with php and ajax?
body: <p>I am using <code>Codeigniter</code> and i enabled <code>CSRF</code> via its <code>config.php</code> file...</p>
  
  <pre><code>$config['csrf_protection'] = TRUE;
  $config['csrf_token_name'] = 'csrf_token_name';
  $config['csrf_cookie_name'] = 'csrf_cookie_name';
  </code></pre>
  
  <p>then on my ajax requests i get the <code>cookie name</code></p>
  
  <pre><code>var cct = $.cookie('csrf_cookie_name');
  </code></pre>
  
  <p>and on <code>parameters</code>:</p>
  
  <pre><code>csrf_token_name : cct
  </code></pre>
  
  <p>My question: Do i need to do anything else or that's it?</p>