This question already has an answer here:
- Codeigniter CSRF - how does it work 3 answers
I have changed the config file and set:
$config['csrf_protection'] = TRUE;
After this the ajax calls have stopped working, when I set to FALSE
ajax starts working.
I have to enable csrf_protection
so how do I make my Ajax start working?
Error: Failed to load resource: the server responded with a status of 403 (Forbidden)
</div>