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
Post a Comment