Welcome Guest, Not a member yet? Register   Sign In
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



Theme © iAndrew 2016 - Forum software by © MyBB