Jump to content

Help, How do you end a Website connection!


KingOfHeart

Recommended Posts

I was not expecting this but when I managed to connect to a chatroom and close out firefox.... The user stayed in the chatroom. This user should of pinged out by now but it's staying online. How do I end this connection?

So far I turned off my internet, and blocked all access to the site.

Well I just learned that if you combine a while loop and use socket_recv($socket, $buffer, 1024, 0); it will still run if you close out your browswer.

I have it read a textfile. I closed out the browser, changed the textfile and it still sent the new message. This was 5 min after I closed it.

So I'm guessing there's no way to stop this file at all except for to let it finish.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.