Ajax request failed on csrf_protection TRUE in codeigniter grocery crud and if i set the csrf_regenerate =FALSE again getting failed on delete. please help Thanks in advance..


Ajax request failure on CSRF protection = TRUE in codeigniter
#1
Posted 02 March 2017 - 11:11 AM
#2
Posted 02 March 2017 - 11:18 AM
Which error are you getting? I had the same problem and i solved turning csrf_regenerate to false on config.php
$config['csrf_regenerate'] = false;
#3
Posted 02 March 2017 - 12:43 PM
Which error are you getting? I had the same problem and i solved turning csrf_regenerate to false on config.php
$config['csrf_regenerate'] = false;
Actually i want to run the ajax request on csrf_regenerate = TRUE and csrf_protection = TRUE have you any idea about it Thanks in advance...
#4
Posted 02 March 2017 - 12:53 PM
I dont know... I switched back "$config['csrf_regenerate'] = false;" to true and it's working now. Dunno why because I had your same problem.
Try to set this in application/config/grocery_crud.php
$config['grocery_crud_dialog_forms'] = false;
Also tagged with one or more of these keywords: csrf, codeigniter, ajax
Support →
I have a question →
Grocery Crud Enterprise is working well with automatic routing, but not with defined routing in codeigniter 4Started by somsankarnaskar, 17 Dec 2020 ![]() |
|
![]() |
||
Support →
Grocery CRUD Enterprise →
Trying to migrate to Enteprise versionStarted by matiasnabarro@gmail.com, 19 Mar 2020 ![]() |
|
![]() |
||
Support →
I have a question →
CSRF Regenerate Not WorkingStarted by satheesh, 10 Dec 2019 ![]() |
|
![]() |
||
Support →
Bugs / Issues →
Error after integrate with adminlteStarted by jep, 02 Oct 2019 ![]() |
|
![]() |
||
Development →
Extra coding / Plugins →
DependentDropdown(custom query) + PostAjaxCallbacks + MoreButtons + MoreUnsets + CustomColumnStarted by genya, 29 Jul 2019 ![]() |
|
![]() |
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users