what methods are there for automatically updating content?
Posted: Sun Mar 08, 2009 8:22 pm
I've been working on a way of updating page content where new information is available to a user while they are using the site/page. I'm sure you know what I'm talking about, but for clarity, I will give the stock quotes as one example, or breaking news, or message/notifier systems as others. I'm currently using a meta refresh tag along with a cookie in a hidden iFrame that runs a script that checks an "updates" table. If updates are found, the script writes some javascript code to the iFrame's document that calls for other Iframes to be reloaded. I think this is better than just reloading the whole page every XX seconds, but I wish I didn't have to run the "check for updates" script and tapping the database every XX seconds from XXX number of users either.
I'm looking to improve what I have, or find a better way. The one problem I have is that I'm in a business intranet environment, and a lot of the machines are kind of old and have minimum ram. So loading a lot of javascipt will just cripple these machines.
So, if you know of anything that might be useful in updating content, I would appreciate any direction or suggestions you might offer.
Thanks
I'm looking to improve what I have, or find a better way. The one problem I have is that I'm in a business intranet environment, and a lot of the machines are kind of old and have minimum ram. So loading a lot of javascipt will just cripple these machines.
So, if you know of anything that might be useful in updating content, I would appreciate any direction or suggestions you might offer.
Thanks