Use of short polling or long polling on infinityfree service

a little tickled about my title, actually this is a question haha. I did not find the topic I was looking for here.

that the policy of this infinityfree hosting service must be prioritized, because it is very helpful for all beginners in particular, I really respect it.

can i use short poll or long poll method [ PHP, jQuery, Ajax ] in infinityfree ? because it is not a VPS or shared hosting service so it is very impossible to install websocket

what is the impact on my account if I use this method? will my account be suspended ?

thank you

Welcome @Refkns :partying_face:!

It is against the terms of service (i think)

Correct (if the above text of my post is correct)

Long polling will be troublesome because we have disabled the PHP sleep() function, and there are other time limits in place that prevent you from keeping connections open for a long time.

Short polling will likely cause trouble with the hits limit, entry processes and perhaps other limits that will be affected if you’re constantly executing scripts.

Whether it’s allowed, I don’t know for certain. But I do think you’ll get your account suspended quite quickly for hitting account limits if you do this.

3 Likes