04-30-2018, 10:24 PM
Hello,
I'm using Codeigniter 3.1.8 and my site is with https.
I looked many solutions with this issue but the solution i found don't work.
I try to do ajax post but csrf protection blocks me (403 error).
I have the hidden input with csrf name and hash value. I update the hash value on every request.
I send the good value by ajax json (hash value sent == cookie hash value).
I have the config csrf protection and regenerate set to TRUE.
When i set crsf protection to FALSE, my ajax request works.
Can you help me ? i spent so many hours to try to solve this issue...
Thanks and sorry for my bad english
I'm using Codeigniter 3.1.8 and my site is with https.
I looked many solutions with this issue but the solution i found don't work.
I try to do ajax post but csrf protection blocks me (403 error).
I have the hidden input with csrf name and hash value. I update the hash value on every request.
I send the good value by ajax json (hash value sent == cookie hash value).
I have the config csrf protection and regenerate set to TRUE.
When i set crsf protection to FALSE, my ajax request works.
Can you help me ? i spent so many hours to try to solve this issue...
Thanks and sorry for my bad english
