On Mon, Mar 14, 2011 at 5:31 PM, Henrik Andersson <he...@henke37.cjb.net>wrote:
> Jordan L. Chilcott - Interactivity Unlimited skriver: > > Unless the client is actually displaying a countdown, it has no need for >> the data. All the client needs in this case is a polling mechanism to occur >> on a set interval, whether or not it intends to display any countdown down. >> No data needs to be pass back to the server. All the client is essentially >> asking is "coupon?". Server either gives a coupon or something else that is >> of no use for anyone to manipulate. >> >> jord >> > > To elaborate on that idea: > > Client asks the server and the server either sends the coupon or the time > left. The client then acts differently depending on the received data. This > way there is only one request made in either case. > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > I like that! Good call, much more efficient. The countdown is displayed so that date is important. I like the single call that way. Thanks again. Kevin _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders