session - How to make php scripts run in parallel? -



session - How to make php scripts run in parallel? -

script1.php

<?php session_start(); sleep(10);

script2.php

<?php session_start();

i run script1.php in browser , after script2.php in browser window. session_start() in script2.php can't execute until script1.php not finished executing.

why happened , how create php scripts run in parallel?

try

<?php session_start(); session_write_close(); sleep(10);

related: thoughts on php sessions

php session file-locking

Comments

Popular posts from this blog

.net - C# Pattern Search -

layout - css: mystery "margin" -

c# - Mysql Syntax Error -