in reply to Autosave then exit
If the browser is still open, you could have JavaScript on the client side (if that's enabled) submit after a certain period of time. That has nothing really to do with what language is on the server side, though.
If you have data in a session on the server side and want to save changes in a more permanent way, you could set an alarm handler or some other type of timer in the server-side code. Be very careful in environments that share code, such as mod_perl, that you're not causing huge reentry headaches for yourself.
Without some more specific idea of what you wish to accomplish, I'm not sure how much more advice anyone can give.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Autosave then exit
by phildeman (Scribe) on Jan 30, 2009 at 16:37 UTC | |
by jethro (Monsignor) on Jan 30, 2009 at 16:45 UTC | |
by mr_mischief (Monsignor) on Jan 30, 2009 at 16:42 UTC | |
by phildeman (Scribe) on Jan 30, 2009 at 17:08 UTC |