Welcome Guest, Not a member yet? Register   Sign In
csrf, ajax and form
#3

(This post was last modified: 08-05-2017, 06:20 AM by theedo.)

(08-05-2017, 05:29 AM)InsiteFX Wrote: Google Search is your friend.

You can try this, it uses the jQuery Cookie Plugin was written for CodeIgniter 2.x
but should still work with the 3.x versions.

You will need to download the jQuery Plugin.

Here is the article and code.

CodeIgniter CSRF Protection With Ajax

uh, it solves me the problem. I haven't found this page when I searched on google.. 

However, why the csrf_regenerate is so important?
Reply


Messages In This Thread
csrf, ajax and form - by theedo - 08-05-2017, 05:15 AM
RE: csrf, ajax and form - by InsiteFX - 08-05-2017, 05:29 AM
RE: csrf, ajax and form - by theedo - 08-05-2017, 06:16 AM
RE: csrf, ajax and form - by Shawn - 08-09-2017, 12:20 PM
RE: csrf, ajax and form - by InsiteFX - 08-05-2017, 09:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB