KingOfHeart Posted October 13, 2010 Share Posted October 13, 2010 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. Quote Link to comment Share on other sites More sharing options...
Oziam Posted October 13, 2010 Share Posted October 13, 2010 the session should end when the browser is closed, or you could try to delete your cookies! Quote Link to comment Share on other sites More sharing options...
KingOfHeart Posted October 13, 2010 Author Share Posted October 13, 2010 Well after 10 minutes or so it finally quit. No idea if it had to do with reconnecting a few times or what. Quote Link to comment Share on other sites More sharing options...
Zane Posted October 13, 2010 Share Posted October 13, 2010 Well after 10 minutes or so it finally quit. Patience is a virtue. Quote Link to comment Share on other sites More sharing options...
KingOfHeart Posted October 21, 2010 Author Share Posted October 21, 2010 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.