471,887 Members | 1,476 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,887 software developers and data experts.

Auto Save user's work every 15 minutes

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
Jul 23 '05 #1
2 2370
"Michelle" <Mi******@bwalk.com> skrev i meddelandet
news:92**************************@posting.google.c om...
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.

--
Joakim Braun
Jul 23 '05 #2
Fantastic! Thank you for your help.

Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Prometheus Research | last post: by
5 posts views Thread by PawelR | last post: by
1 post views Thread by Michelle | last post: by
3 posts views Thread by david | last post: by
5 posts views Thread by Navillus | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.