ajax request generate csrf token in codeigniter code example
Example: codeigniter csrf token ajax
$csrfName = $this->security->get_csrf_token_name();
$csrfHash = $this->security->get_csrf_hash();
$csrfName = $this->security->get_csrf_token_name();
$csrfHash = $this->security->get_csrf_hash();