Regenerating CSFR token in AJAX requests
I would like to create a new token for each request and would like to us the following template-
<script>
var current_token=<?php echo $_SESSION[‘csrf_token’]; ?>
$.ajax({
type: “POST”,
… Continue reading Regenerating CSFR token in AJAX requests