I have a problem i have to post 2 Ajax request at the same time. I have post data to one file and return response and then post to other page and then go to that page with posted data so i can access by using $_post on next page and show the values.
i have tried some redirect request but none of them works. windows opens but no value is posted $_post is empty. i want to go to the addproduct.fr.php page after the values are posted with posted values.
type: 'POST',
enctype: 'multipart/form-data',
data: data,
processData: false,
contentType: false,
cache: false,
timeout: 600000,
url: 'filecreate.php',
success: function(response) { alert(response); },
type: 'POST',
enctype: 'multipart/form-data',
url: 'addproduct.fr.php',
data: data,
processData: false,
contentType: false,
cache: false,
timeout: 600000,
success: function(response) { alert(response); },