I’m making an ajax request which is making bash treatment. Another action in my page uses an ajax request but this one is waiting the end of my first request for making what I’m asking.
Do you have any idea for doesn’t waiting the end of the first ajax request ?
Thanks for your help 🙂
$.ajax({
type: 'POST',
url: 'make-traitement.html',
data: { fichier: fileol, id: idcr }
});
This behaviour is due to sessions. Php can`t start second session (with the same session name) while the first one is not closed yet. As far as I know there is no way to avoid this lock.
Try to use the following function asap to free the session files in order to allow second request to be performed.