Why are 2 concurrent calls to apache2 not processed in parallel?
echo "Start: ".time();
sleep(5);
echo "<br/>End: ".time();
Open 2 tabs into chrome, and go to script. (same time)
Result from TAB 1
Start: 1321331382
End: 1321331387
Result from TAB 2
Start: 1321331387
End: 1321331392
How do I prevent this from happening?
Your questions hinted to the right answer.
session.auto_start = 1 was activated in php.ini The solution is to either start script with : session_write_close();
or session.auto_start = 0; into php.ini.
Thank you for the help.