Who is online problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
omidkamangar
Forum Newbie
Posts: 16
Joined: Sun Jul 30, 2006 2:51 pm

Who is online problem

Post by omidkamangar »

I am trying to use the technique in viewtopic.php?t=34665 to show the number of online users, but I have a problem with it:

the setTimeout() function does not work properly, i.e. it just shows the online users when the page is loaded for the first time and then no refreshing of the data happens. I replaced the setTimeout() function with setInterval() and it works well for Firefox, Opera and Netscape, but on IE (V 6+) it does not work at all. The setInterval() function seems not to be working.
Can anyone please help me with it?
Post Reply