codeigniter is passing ci_csrf_token empty 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();