• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] csrf protection issue

#1
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 Blush
Reply


Messages In This Thread
[SOLVED] csrf protection issue - by yiujia - 04-30-2018, 10:24 PM
RE: csrf protection issue - by InsiteFX - 05-01-2018, 04:14 AM
RE: csrf protection issue - by yiujia - 05-01-2018, 06:52 AM
RE: csrf protection issue - by InsiteFX - 05-01-2018, 10:31 AM
RE: csrf protection issue - by yiujia - 05-01-2018, 11:22 AM
RE: csrf protection issue - by dave friend - 05-01-2018, 03:37 PM
RE: csrf protection issue - by yiujia - 05-02-2018, 07:34 PM
RE: [SOLVED] csrf protection issue - by yiujia - 05-03-2018, 10:21 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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