Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^4: Autosave then exit

by phildeman (Sexton)
on Jan 30, 2009 at 17:08 UTC ( #740243=note: print w/replies, xml ) Need Help??

in reply to Re^3: Autosave then exit
in thread Autosave then exit

I think as I sit here and ponder, I will attempt to use Ajax to call a controller method that will write the data to the database, then return the primary key and hide it in the form. This way when the users return to complete the form, instead of writing a new record, it will use the primary key to update the existing record. And if the application has logged the user out, then when the user returns to the form, the application will check to see if a record already exists. If yes, it will retrieve the partially saved data, otherwise, the form will have blank fields.

This has been a great exercise in thought. Thanks for your help!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://740243]
erix is reduced to use a BROWSER. (remember those?)
[Discipulus]: figuring.. i'm still just use the side pm chat..
[erix]: (all this while karls guitar gently weeps...)
[planetscape]: (invade Hungary)++ #I'm hungry
[stonecolddevin]: i went too far down the irc rabbithole to hook this back up there
[Discipulus]: .. yes erix until NodeReaper put jhon coltrane again

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-06-22 21:13 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (531 votes). Check out past polls.