0

I have a PHP file with infinite loop while(true){}. The file is loaded with Ajax request.

If I have multiple tabs opened in the same browser, is it possible to reffer only to one request?

I mean, if I open 10 tabs the ajax request will open my php file 10 times and I will have 10 files performing infinite loop while(true){}, and this is not very good for my server.

Again : Is it possible? :)

Sorry for this question, but I can't find solution for it.

4

1 に答える 1

1

問題は、ユーザーのタブを特定することです。POST変数を使用してそれを行うことができます。

次の質問を参照してください。

于 2012-06-07T13:58:43.523 に答える