Temporarily saved how?

System requirements for a function, can temporarily save, modify the next time you log in, but once submitted can neither be amended. How to get? The presence of cookie inside? Still exist in database, and set a parameter to determine whether can be modified? Or write two pages, one can be modified (namely temporarily save button), one is not modifiable (submit)? What to think?

Started by Greta at November 10, 2016 - 11:50 PM

Stored in the database, add a flag field
Don't need to write a two page, write a page two button the only one available, or hidden or the ash is not available
The button which cannot operate according to the sign

Posted by Ted at November 24, 2016 - 12:00 AM

There are other ideas?

Posted by Greta at November 26, 2016 - 12:45 AM

++

Posted by Lester at November 27, 2016 - 12:52 AM

The best way is building 2 said, so you input data is real, the one you input is saved, one is submitted, save only temporarily, can use a field to distinguish, but if the amount of data, and it is not very important words you can put into application go, of course this time server cannot be restarted, the third is still not the amount of data you can put into cookies, all the best the most convenient way is to first, stored in the database to go inside, with a field to distinguish, this not much work

Posted by Hale at November 29, 2016 - 1:03 AM

It's going to be complicated, there are still many schemes.
You want to play much of heart and cut.?

Posted by Colin at December 13, 2016 - 1:33 AM

Stored in the database, add a flag field

Posted by Jasmine at December 14, 2016 - 1:36 AM

The attic!!!!

Posted by Quinn at December 15, 2016 - 2:33 AM

Like upstairs said, stored in the database, behind the state changes submitted is good

Posted by Barnett at December 19, 2016 - 3:27 AM

Submitted to the server database is a good idea

Posted by Carina at January 02, 2017 - 3:54 AM

Feeling written into a file, special use a file to store such information, the next change, read files on it. The feeling is very convenient, efficiency should be a little bit higher required documents

Posted by Brendan at January 03, 2017 - 5:13 AM

If the user amount is very large, the file is not appropriate, but the file efficiency should be high, personal opinions. .

Posted by Brendan at January 09, 2017 - 4:32 AM

Three . . .

Posted by Brendan at January 14, 2017 - 5:09 AM