Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
Dears,

I have a web service to do one transaction. it was working perfectly. Now it showing a strange behaviour, like the fucntion is calling more than 600 times with a minute. When the user clicks i am logging all the paramaters he send. same paraeter is repeated for 600 times. i can check the user action logs also. he clicked only once. any idea regarding this ?
Posted

1 solution

Sorry, I don't have my crystal ball with me. Just one thought: It's irrelevant how often some button is clicked. How about looking at the code that handles the event and searching for situations where more than just one request may be sent. Is there perhaps some code to try to send the request again after an error?
 
Share this answer
 
Comments
sabindas k s 17-Apr-12 9:34am    
Thx Dear.. It was the problem... :)
[no name] 17-Apr-12 10:40am    
Great! I use web services a lot and usually a retry does not help very much. If the server, the database or the connection are down there is not much the client can do about it. Most other errors like exceptions that occur while the service processes a request can be detected by testing and logging and then fixed, so that they don't occur again in the future. Good luck!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900