473,498 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web method request returning incorrect resultset FOR CONCURRENT USERS

rao

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!!!!

Aug 10 '06 #1
1 1117

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!!!!
Aug 15 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4425
by: mgPA | last post by:
Short: How can I limit the number of concurrent logins to Access (2000) DB? Long: I seem to be having the problem discussed in previous postings of having more than 9 or 10 concurrent logins. ...
5
50716
by: rk325 | last post by:
Yes, I've seen many posts about this type of error, and none of the solutions people applied worked for me. So please read this one carefully and help me if you can. I have a web service...
6
3330
by: Bill Manring | last post by:
I have an ASP.NET application which my company sells comercially. We license on a concurrent user model, but we currently rely on the "honor" system for the customers to give us their best guess...
2
1452
by: Joe Van Dyk | last post by:
Hi, I have a class that looks like: class ResultSet Element* getNext(); // more Now, I'd like to allow syntax similar to
6
1267
by: EP | last post by:
I need to build a fairly simple application that will reside on remote storage, not on a server, and I am looking for any best practices and approaches that have worked for others. I believe...
6
4955
by: santhoskumara | last post by:
How to request to servlet from Ajax and also I got the DOM object in the servlet through Business Logic. Now how will i pass the DOM object from serlvet to Clientside. Where in the client Side i am...
2
19274
by: mktselvan | last post by:
Hi, Existing running oracle application 11i (11.5.8) Database version is 8.1.7.4 There is any command / way to know the number of concurrent users for this application. ...
0
2595
by: TimW | last post by:
I'm having a problem on an ASP.NET 1.1 web site. The page where I'm having a problem is accessed without SSL. It contains a link to another page which can be configured to require SSL. If SSL is...
0
7126
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7005
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7168
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7210
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6891
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4595
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3096
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1424
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
659
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.