Reputation: 8197
I have my PHP scripts running on the WAMP server. Here's what i am doing
Does anyone has any suggestions ?
Regards, Mithun
Upvotes: 1
Views: 752
Reputation: 27844
A Session cannot be shared by concurrent scripts. Any new requests which try to session_start()
will hang at this point waiting for the previous script end.
As your script is taking undetermined time to end, its a good idea to session_write_close()
right after obtaining all information it needs from the $_SESSION superglobal, so concurrent requests won't hang anymore.
Upvotes: 4