Hi,
I have a script which processes some inputs from users. Users may send in the data at any time.
However, I noticed that I have problems with some data inserted into my DB being incomplete.
Hence, I am wondering if it is because there are new data coming in before the script completes the previous action? If so, how can I prevent it?
[HELP] Incomplete processing
Moderator: General Moderators
Re: [HELP] Incomplete processing
Depends on how the code works and what "incomplete" means...
Actual code is easiest to read.
Actual code is easiest to read.
Re: [HELP] Incomplete processing
If you have 2 users posting at the same time, your script is invoked twice in 2 different processes. The same script can be running multiple times concurrently.
Your incomplete data is most likely due to some bug in the script.
Your incomplete data is most likely due to some bug in the script.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.