• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ajax with CSRF causing a Double Post to controller

#3
Personally I have disabled regeneration of the CSRF so it will be the same. So that I don't need to get a new one back from the Codeigniter. As the user stays on the same page doing multiple AJAX.
PHP Code:
$config['csrf_regenerate'] = FALSE

But this ain't the cause of your problem. Have you tried a different version of your Javascript library? If you are using one.
Reply


Messages In This Thread
RE: Ajax with CSRF causing a Double Post to controller - by jreklund - 10-01-2018, 10:52 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.