Assuming that there is a way to know what data has already been processed,
only one of them will be processed at a time. So, since you don't know which
will be processed first, have your code check to see if there is already an
entry for the data that it is processing, and handle this possibility
accordingly.
--
HTH,
Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP
"Mike Bevins" <MBevins @ NO SPAM DOT COM> wrote in message
news:5B5DF781-DA9A-4280-BAB1-...
> Hello All, I have a web service that handles incoming notifications. 2
> notifications can come in at the same time and reference the same item so
> I need a way to know both of them are there when processesing the data or
> at least one at a time not 2. My question is what is the best way to do
> this? I have been thinking of using MSMQ is this possible in a shared
> hosting enviroment or even possible to use the way I am thinking?
|