You can write a page that has nothing but the time displayed on it for an
auction based on a url variable passed to it. Then use javascript's
httprequest to read that page asynchronously and update the time the user
sees. (aka AJAX)

As for increasing the time... why not just do that when people bid rather
than a scheduled task?

1) Insert new bid
2) Get the time left
3) If it's less than 2 minutes increase by whatever you want.

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 

-----Original Message-----
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 14, 2006 9:15 AM
To: CF-Talk
Subject: Ideas please!!

I have been trying to fugure something out that is simply eluding me. My app
is an auction, and what I am trying to do is have it where when somebody
bids on an item say within 2 minutes of auction close, the auction time is
is increased by 5 minutes. I am pretty sure I have that part figured out by
doing a scheduled task and having it run once a minute. The part I am trying
to figure out, is displaying the new auction time to the browser without
refreshing the page. Is this possible? How can it be done if it is?







Thanks

Doug





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253102
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to