[resolved] CSRF issue when ajax functions and normal forms are used on the same page |
I think CSRF only generate new for very submit POST or Ajax POST.
If submit GET or Ajax GET, CSRF = last generate and can get it from cookie When you ajax post, CSRF will generate new and different with current CSRF, so you need update current CSRF with new. Learning CI4 from my works, from errors and how to fix bugs in the community Love CI & Thanks CI Teams |
Messages In This Thread |
[resolved] CSRF issue when ajax functions and normal forms are used on the same page - by kilden - 09-30-2020, 02:21 AM
RE: CSRF issue when ajax functions and normal forms are used on the same page - by InsiteFX - 10-01-2020, 12:39 PM
RE: CSRF issue when ajax functions and normal forms are used on the same page - by kilden - 10-01-2020, 01:07 PM
RE: CSRF issue when ajax functions and normal forms are used on the same page - by InsiteFX - 10-01-2020, 02:01 PM
RE: CSRF issue when ajax functions and normal forms are used on the same page - by kilden - 10-02-2020, 01:22 AM
RE: CSRF issue when ajax functions and normal forms are used on the same page - by InsiteFX - 10-02-2020, 06:38 AM
RE: CSRF issue when ajax functions and normal forms are used on the same page - by nc03061981 - 10-02-2020, 06:46 AM
RE: CSRF issue when ajax functions and normal forms are used on the same page - by kilden - 10-02-2020, 07:29 AM
|