开发者

Under what conditions will a "long polling" PHP script cease to execute?

开发者 https://www.devze.com 2023-02-03 10:27 出处:网络
Does it have to stop itself? What if someone visits my site, starts the script on the server开发者_StackOverflow社区, and then leaves (or his phone hibernates)? I\'m using jQuery.As soon as it times o

Does it have to stop itself? What if someone visits my site, starts the script on the server开发者_StackOverflow社区, and then leaves (or his phone hibernates)? I'm using jQuery.


As soon as it times out, which is usually 30-60 seconds after the script starts, but you can change it.

0

精彩评论

暂无评论...
验证码 换一张
取 消