configuration - What prevents a browser from loading 2 long running PHP scripts concurrently from the same domain? -


there appears limit on number of concurrent scripts php session. session , not ip / client because can start browser , load second script. there parameter limiting 1 concurrent script?

you have wait 1 complete before other 1 starts loading.

the default session handler uses files, , lock session file duration of request. if have long-running script, should force relinquish session lock doing session_write_close() before entering "long running" part of script.

you can re-open session session_start() again later on, if need modify session data after long-running portion completes.


Comments

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -