You’ve got the time you need in the database so you can get the difference
of now and that time then use that as your count down value in js

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

-----Original Message-----
From: Ken [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 18, 2005 1:55 PM
To: CF-Talk
Subject: A timeout alert

Hi. I am working on a forum application. There is a fixed time to respond to
each posting. I want the user responding to a posting to get an alert, even
if he is typing at the last minute, saying: "Sorry, this posting has reached
its expiration time, you are being taken to the home page now."
There's a db field that holds the expiration time for each posting. That's
what we will compare the current time to. Or maybe start a timer as soon as
the user comes to the page, and display an alert at the end of the timer.
Any ideas how to do this in CF? Code examples will help.

Thanks,
Ken




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221361
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to