Javascript Timer Question

Hey folks. The boss is away and things keep coming.

I have a question for those javascript experts out there. We have this timer that we use in our Change Request application. The timer counts down the time a user spends entering data, which I have set at 30 minutes. Within 10 minutes of expiring, I prompt them to restart the session, otherwise it is terminated. Presently, I am able to get the timer working and prompting the users. The problem is that when the alert comes up, my timer stops ticking with only the alert on screen. What I would like to do is to have the timer continue to count down and if they don’t click ok, go ahead and terminate the session at 30 minutes. Or at least prompt them that the session is terminated.

Here is my code.

David…(using Cygnus’ account)

Subject: Javascript Timer Question

David,

It sounds to me that it functioning as designed. That is whenever an alert is brought to screen, focus is transferred, thus it makes sense to me that the timer would stop. My guess would be to create two timers and use one for your prompt and the other just to display your timer, but even that would probably do the same thing.

Just trying to help.

George

Subject: RE: Javascript Timer Question

George,

Thanks for your response. I already tried those options and unfortunately the same occured. No matter how many timer I had on the page, whenever my popup came, ALL of them stopped awaiting action.

David