Who is online problem
Posted: Mon Nov 12, 2007 12:44 pm
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?
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?