adspace


How you can enable csrf (cross site request forgery) in codeigniter?

Answer Posted / Prashant Tiwari

In CodeIgniter, CSRF protection is enabled by default. However, if you need to disable it temporarily for certain situations, you can use the `$config['csrf_protection'] = FALSE;` line in your controller.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to add / link an images/css/javascript from a view in ci?

717