Ajax request and regenerate csrf |
(07-24-2017, 10:19 AM)spjonez Wrote: If you don't need to support concurrent requests pass the new CSRF token back from CI and into your success callback and set it to a variable in JavaScript. Pass the value of your JS variable on each request. This is a registration form , i must populate 3 select , the first populate the second and the second the tird . can i set regenerate to false ? But if i set false is false for every part of site? Is it secure? |
Messages In This Thread |
Ajax request and regenerate csrf - by pippuccio76 - 07-23-2017, 06:51 AM
RE: Ajax request and regenerate csrf - by spjonez - 07-24-2017, 10:19 AM
RE: Ajax request and regenerate csrf - by pippuccio76 - 07-24-2017, 12:45 PM
|