i'm working on a website with a very large amount of "user profile" information...
i created a couple classes to handle manipulation of the user's profile in an easier way and so far it works great but i have a problem with updating the information:
when the user changes something i can either run a seperate query for every field that he changes or i just wait till he's done and run a "update all" query when he exits the edit page. the problem with the second option is that if he has some kind of internet problem or leaves the website unexpectedly then none of the changes would be saved...
what's the best way to get around this? i would have to have to run a seperate query every time but i know how annoying it can be to spend some time filling out a form only to have something happen and you lose your input... thanks!
i created a couple classes to handle manipulation of the user's profile in an easier way and so far it works great but i have a problem with updating the information:
when the user changes something i can either run a seperate query for every field that he changes or i just wait till he's done and run a "update all" query when he exits the edit page. the problem with the second option is that if he has some kind of internet problem or leaves the website unexpectedly then none of the changes would be saved...
what's the best way to get around this? i would have to have to run a seperate query every time but i know how annoying it can be to spend some time filling out a form only to have something happen and you lose your input... thanks!