I am trying to use AJAX to request multiple php scripts together, however, Only 1 instance at a time and I can not connect to the next call until the next call ends. What do I have to do all this at the same time? I am using Apache (xampp) on windows. I have also tested it on my UNIX server and the same thing is happening there too. Principles in these, there prevents some PHP PHP scripts from being executed multiple times in parallel - and There will be big problems in many websites; Therefore, in your situation, some locking mechanianism that prevents it ...
If your script is using sessions, and those files Based on the (which is the default) , the reason for those sessions may be the problem: With the default session handler, the same session data (i.e. a session related to a given user Data) Many files are not possible to reach at the same time; That is to prevent a script from overriding the data of another, and it probably should not be deactivated.
Therefore, if your script is using sessions: can you stop using sessions?
If not, then they should try to shut them down as if you do not need them - to unlock those files which are used to store them.
Here's a quote from the manual page, about:
Session data is usually closed without your session during the session; Session_write_close () without needing to call, but session data is locked to stop concurrent writing, only one script can work on one session at any time
sessions When using frameset together, you will experience the loading frame due to this locking.
When the session is over, you can reduce the time required to load all the frames as soon as all variables in the session variables are made.
Comments
Post a Comment