php blocking when calling the same file concurrently

后端 未结 2 1654
日久生厌
日久生厌 2021-01-22 18:10

i\'m having some really strange problem.

i wrote a filemanager in PHP with the ability to download files -- which works fine. the whole script is built as one big file.<

2条回答
  •  渐次进展
    2021-01-22 18:56

    Daremon is correct, but you shouldn't need to use a different session handler. If you call session_write_close() before you start sending the file, the lock on the session file will be released and your other scripts should be able to continue.

提交回复
热议问题