...

View Full Version : Content Driven Refresh Question



cjmcf529
02-04-2004, 04:15 AM
Ok, so I have developed a status page for my work. PHP code Mysql backend it works pretty well. But, here is my problem. Say 5 people are logged into this status page. And one of them changes a status of something on that page. How can (if I can) make the other active pages (the other 4 people) auto refresh when new information is submitted. I cannot expect them to manually refresh the page when status's change. So it needs to be content driven, change content of one of the items, and the server?? will force a refresh. If possible.

Thanks

glenngv
02-04-2004, 06:35 AM
You can't force a refresh on the client from the server. The client must be the one to initiate a request to the server to get the updated page. You can put an auto-refresh script on the status page, say after every 2 mins the page is automatically refreshed.

setTimeout("location.reload()", 120000);



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum