Soldato
- Joined
- 16 Nov 2003
- Posts
- 9,682
- Location
- On the pale blue dot
I'm currently building a PHP powered web form. The user is required to enter quite a fair amount of data so they need some sort of office style autosave while they work which would dump their info into SQL in case the browser crashes or they close it or whatever.
I was thinking of using a javascript timer, but from other non-web projects in the past I've always been told to avoid timers, as they are often not reliable. Now I don't need to measure down the millisecond but do you reckon that a javascript timer would be okay to say, save after ten minutes on the form?
If not, what else would you suggest?
I was thinking of using a javascript timer, but from other non-web projects in the past I've always been told to avoid timers, as they are often not reliable. Now I don't need to measure down the millisecond but do you reckon that a javascript timer would be okay to say, save after ten minutes on the form?
If not, what else would you suggest?