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

c# - Code indenting specified at project/solution level rather than global -

How to merge code and resolve conflicts more easily using git? -

uitableview - How to load table with some default image till it get the original image from internet iPhone? -