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

groovy - Grails 2.0 plans for arbitrary .gsp pipelining? -

linux - Why do the 32-bit and 64-bit Compiled Versions of this Program Populate Memory in this Way? -

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