Auto Save user's work every 15 minutes

M

Michelle

Hello!

I have an .aspx web form in an ASP .NET application that I
need to Auto Save every 15 minutes. Could anyone provide examples of
client-side Javascript to count down the 15 minutes?

Thank you for your help!

Michelle
 
J

Joakim Braun

Michelle said:
Hello!

I have an .aspx web form in an ASP .NET application that I
need to Auto Save every 15 minutes. Could anyone provide examples of
client-side Javascript to count down the 15 minutes?

Thank you for your help!

Michelle

When loading the page:

setTimeout("myAutoSaveFunction()", 15 * 60 * 1000); // 15 minutes times 60
seconds times 1000 milliseconds

That will call myAutoSaveFunction() after 15 minutes have elapsed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,177
Latest member
OrderGlucea
Top