I found what was the problem! :)
As you said, it was not about ajax requests, it was in the php
backend.
The two scripts was working with sessions, when i execute session_start
() the script locks the session file until the end of the process, so
the second file wasn't able to access to the session until the end of
the first script!
Hopefully, the function session_write_close() is able to unlock the
session file before the end of the script...
Thanks a lot for your help and your ideas!
On Nov 8, 1:45 pm, Rolf -nl <
plentyofr...@gmail.com> wrote:
> Yup, I see it's running fine in your demo :) I think it should be a
> bug somewhere else then, like you wrote.
>
> What I meant with one periodical request is that you have one php
> script that checks first if an archive is created, if not it starts
> creating one and return the status. If there is already an archive in
> the making (the 2nd and following requests) it would just return the
> status. I'm not sure if this would work 100%, didn't think out the php
> backend stuff for this, and if 2 requests work, it's fine too, not?
>
> On Nov 8, 1:37 pm, Phenix <
p...@no-log.org> wrote:
>
> > Here you can find a demo page of what i want to do :
http://www.mynox.fr/multiple-requests/and... it works fine :D It