How to solve CSRF 403 Error during AJAX Request in CodeIgniter 3
When we are using CSRF protection in CodeIgniter bases Apps, we commonly face a problem during AJAX request. It is:
– In first AJAX request, we receive success response,
– From second to rest request we receive 403 error response.
script type="text/javascript" src="http://aos-creative.prf.hn/creative/camref:100l3Rd/creativeref:10l3694">
In this video, I am trying to show you one possible solution to fix the problem. I hope it will help you to fix that error in your application.
Sorry for no sound, and grammatical error!!!
– Thanks
source