Timeout Window

I created what I think is a useful component, a mix of the echo Window and echopoint Timer classes. It’s called TimeoutWindow.

I have encountered the situation where a user enters data onto a page and then clicks “Next” or “Exit”. In that case, I want to prompt the user, with a popup window, whether or not s/he wants to save the data they entered. However, if the user does not make a choice within a short period of time (say, 1 minute), then I want a default action taken (such as don’t save) and for the prompt to disappear. The other possibility is that the user cannot respond to the prompt, because they have closed their browser, their system has crashed or they have lost their Internet connection. In that case, after a certain period of time (say, 1 minute 30 seconds), I want the application to take a default action (which could be the same or different than if the user had simply not responded to the prompt). Thus, there are three possible outcomes:

(a) the user responds to the prompt within TIME,
(<!--emo&B)--><!--endemo--> the user could, but does not, respond to the prompt within TIME, or

Timer component

msalamon:

Do you still have this component? Could I get a copy?

Thanks,

Dan