>Sounds like a job for javascript or if you need it to work 100% of the time, when you load the form, encrypt the current time, and place a hidden field containing this value. when the form is posted, decrypt the value and compare it to the current time. if the timeout has been exceeded, give them the message, a link back to the home page, and put a meta refresh header in.
-----Original Message----- From: Matthew Small [mailto:[EMAIL PROTECTED] Sent: 18 October 2005 18:58 To: CF-Talk Subject: RE: A timeout alert Sounds like a job for javascript. Matthew Small -----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:221358 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

