Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I would like to display a confirmation popup if they want or not to extend/reset the timeout value before it expires.

any ideas, code snippets?
thanks
Posted

1 solution

Hold the StartTimeOutSet as a variable, and assuming the time out is set at, say, 10 mins, then TimeOutWarningSet is StartTimeOutSet plus 8 minutes.

When current time == TimeOutWarningSet then Do Something


ASP.Net Timer[^]

C# timer[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900