Web services are supposed to be written as re-entrant code. If you're
using shared variables, your code is not re-entrant, and you'll end up
with the result you've described.
Craig
On 10 Aug 2006 16:37:24 -0700, "rao" <ra*******@gmail.comwrote:
>
I have a C# Web Service with several methods. If I try to access a
method that returns a dataset based on a specific criteria and another
user tries to access the same method with a different criteria and we
keep executing it several times from different machines then every once
in a while he'd end up with the dataset that I was sipposed to get and
I'd get his data.
I have unsuccessfully tried several things - it seems like the web
server is seeing multiple similar requests (for the same web method)
and is not directing the response to the appropriate requestor. PLEASE
HELP!!!!