Page 1 of 1

[HELP] Incomplete processing

Posted: Wed Nov 03, 2010 1:18 am
by Jande
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?

Re: [HELP] Incomplete processing

Posted: Wed Nov 03, 2010 4:41 am
by requinix
Depends on how the code works and what "incomplete" means...

Actual code is easiest to read.

Re: [HELP] Incomplete processing

Posted: Wed Nov 03, 2010 10:55 am
by pickle
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.