Hi There,
I have created a javascript count down timer to be used in asp.net.
Thanks to the author of the article for making my life half simple.
Basically, I create a countdown time for user to register (20 mins). If the countdown is around 5 min (that means the user is inactive for 15 min) then generate confirm box asking whether the session has to be active.
If the user clicks ok, then we reset the time. If cancel is clicked, we proceed with the timer countdown till it reaches zero and logged out. IF he doesnot do any action, the countdown timer will proceed and logged out
I hv created the scenario for the above except that I have the below problem
The problem is
Whenever the confirm box is popped up, the timer counter stops the counting.
and If user does not click on either button and remain inactive for more than 5 min (by 5 min, the user should be logged out) there is nothing done that means, the counter stops countdown and the user is not logged out.
Is there anywhere to determine in javascript whether a confirm box is popped up?
Hope i am clear.
Can somebody help me out..
I got stuck with this for the past few days and I am also a novice in javascript.
Thanks a lot in advance
Regards