The easy way 1. Have a hidden I frame on the page that refreshes every X seconds, and when it finds something new refreshes the main page 2. Use Ajax call on a Javascript Timer to check the server every X seconds 3. Use Flex push technology
PS: 2 & 3 will be much easier in CF8. These are the easy options, 1. Is the easiest as there is no learning curve, 2 isnt much harder. Regards Dale Fraser http://dalefraser.blogspot.com -----Original Message----- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 July 2007 9:20 PM To: CF-Talk Subject: Re: Creating an in-out application w spry/CF Every technology will require a poll to the server, to pull the data in... On 7/10/07, Tom King <[EMAIL PROTECTED]> wrote: > > I have a project: > I need to create an in and out board (i.e a webpage/application which > sits on a tablet PC by an entrance to a building); > The app needs to show a list of names, populated from a MySQL > database, and on click, update the time signed in to the database, > and change the color of the name to indicate whether they're in the > building - that part is easy - however, the app needs to work > multiple machines: > > Hence, you have data which needs to be "pushed" out to the other > devices on the other entrances, so the record of when someone is "in" > or "out" is identical. > > Previously, this has been done by making every click a form > submission, and then each version of the page would use a Meta > refresh every 30 seconds to update their displays; > > There's got to be a cooler way of doing this: Any ideas? > > Spry/Flex/Flash may be the way forward, and I'm intending to use it > as a training exercise, so willing to learn, but would like a nudge > in the right direction! > > Ta > T > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283380 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

