Interviewer And Interviewee Guide

Jnr PHP/Codeigniter Developer Interview Question:

Tell me how you can enable CSRF (Cross Site Request Forgery) in CodeIgniter?

Submitted by: Muhammad
You can activate CSRF (Cross Site Request Forgery) protection in CodeIgniter by operating your application/config/config.php file and setting it to

$config [ ‘csrf_protection'] = TRUE;

If you avail the form helper, the form_open() function will insert a hidden csrf field in your forms automatically
Submitted by: Muhammad

Read Online Jnr PHP/Codeigniter Developer Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.