Link to home
Start Free TrialLog in
Avatar of watherton
watherton

asked on

Auto Saving

Afternoon members.

Ok here is a tricky one for you. I have a form that gathers information from user, lets say that the users get half way in filling out the form then decide to go for lunch, on returning from lunch they called into an emergency meeting. On return to their machine, they realize that their session has timed out and all the work they did earlier has vansihed.

Can you see where I am leading - Is there anyway of automatically saving information at a given interval?

Cheers

Wayne
Avatar of praneetha
praneetha

no i don't think so...unless you write some javascript which fires after certain time and saves the data...

but i don't know how to do it only if the form in inactive(like some one filled it and is idle for that long)

may be timer should restart everytime there is a key press in the form...

good luck
I assume you're talking of an online form. Well, this should not time out if the server timeouts are set up correctly (session state timeout). If you use, for instance, a timeout of 24h, they can even leave it overnight without running into a problem...

Forms without session state, but with viewstate don't suffer this problem at all.
Avatar of watherton

ASKER

Avonwys cheers, but what if they turn their machine off, or close the browsers, how do i auto save the info that is already there?
Make the components do postbacks...
Thats just does not make sense, I have over thirty different textboxes/labels etc and setting all of them to do a postback is suicidal!
Depends. If the server is on the LAN, it may be OK. Another solution would be to group items to "wizard"-style pages...
can you explain further on the above point "Wizard-style"
ASKER CERTIFIED SOLUTION
Avatar of AvonWyss
AvonWyss
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
"Avonwys cheers, but what if they turn their machine off, or close the browsers, how do i auto save the info that is already there?"

sometimes we can't save them from themselves. if they're that stupid, they deserve to loose the data.

i like the latest coment... splitting up the form into several steps.
yeah, sounds like a winner, maybe I should  cool it a bit on the user friendly side.

Thanks guys.