473,386 Members | 2,129 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Autosaving in asp application

I have an asp app and I want to autosave data every 2 minutes that the user
is entering in case the users connection to the server is lost. This would
ensure that the user can only at most lose 2 minutes of data he/she is
entering.

What coding do we use to achieve this. Thanks!
May 2 '06 #1
2 895
You could use setTimeOut client side to automatically postback once the time
is elapsed (but what if data are not valid etc..).

My personal preference would be likely to have the more robust application
possible and to keep the user the master onboard...

--
Patrice

"Dave" <Da**@discussions.microsoft.com> a écrit dans le message de news:
A7**********************************@microsoft.com...
I have an asp app and I want to autosave data every 2 minutes that the user
is entering in case the users connection to the server is lost. This would
ensure that the user can only at most lose 2 minutes of data he/she is
entering.

What coding do we use to achieve this. Thanks!

May 2 '06 #2
I would probably make this post a hidden frame (or call a webservice). Then
you would have to keep two forms of data store (one fore complete data, one
for partial data) as the data as the user enters it may be complete garbage
and fail all of your validation.

The postback will be extremely annoying.

Cheers,

Greg
"Patrice" <sc****@chez.com> wrote in message
news:Ov**************@TK2MSFTNGP04.phx.gbl...
You could use setTimeOut client side to automatically postback once the
time is elapsed (but what if data are not valid etc..).

My personal preference would be likely to have the more robust application
possible and to keep the user the master onboard...

--
Patrice

"Dave" <Da**@discussions.microsoft.com> a écrit dans le message de news:
A7**********************************@microsoft.com...
I have an asp app and I want to autosave data every 2 minutes that the
user
is entering in case the users connection to the server is lost. This
would
ensure that the user can only at most lose 2 minutes of data he/she is
entering.

What coding do we use to achieve this. Thanks!


May 2 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: J. Baute | last post by:
I'm caching data in the Application object to speed up certain pages on a website The main reason is that the retrieval of this data takes quite a while (a few seconds) and fetching the same data...
3
by: Amit Dedhia | last post by:
Hi I am developing a Dot net application (involving image processing) on a uni processor. It works well on my machine. I then take all my code on a multi processor, build and run the application...
6
by: orekin | last post by:
Hi There I have been trying to come to grips with Application.Run(), Application.Exit() and the Message Pump and I would really appreciate some feedback on the following questions .. There are...
20
by: Peter Oliphant | last post by:
How does one launch multiple forms in an application? Using Photoshop as an example, this application seems to be composed of many 'disjoint' forms. Yet, they all seem somewhat 'active' in...
6
by: Josef Brunner | last post by:
Hi, I published my application (VS 2005) and am now trying to install it when I get this error message. It worked before...even on a different machine. Here is the detailed description: ...
9
by: jeff | last post by:
Hi All. I realize that when my Deployed winforms application starts, Windows needs to load the .net 2 framework before control is given to my application.... Is there anyway to either ... -...
3
by: asadikhan | last post by:
Hi, I have written a windows application with a GUI (let's call it MENU). I own the code for this application and have access to it. We have another application that is a third-part windows...
2
by: Michael Kalika | last post by:
Hi, We have developed a VSTO 2005 Excel application and we would like to leverage ClickOnce deployment mechanism for distribution of this application. How can we do that? I was digging in MSDN...
0
by: Tifer | last post by:
Hello, I am building my first .Net Application. The first couple of Publish and Installs I did went fine. But after a couple of builds, I get a modal dialogue box error every time upon trying...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.