Hi Archana,
Web Requests are allways synchronous.
This may be a bit a shocking answer but remember that the http protocol
allways need a response 200 Ok or some kind or error.
So lets say you use Javascript to do a post towards a webservice using the
asynch switch. Although your code will continue to run untill the event
requestcomplete (or something like that) hits.
The line towards the webserver will remain open.
If you really want to be asynchronous using the web start the server side
processes in seperate treads. I think IE is looping through it's open
connections increasing the CPU load to 100% This is when I found out the
lines remained open :-)
Hope this helped.
Kind regards,
--
Rainier van Slingerlandt
(Freelance trainer/consultant/developer)
www.slingerlandt.com
"archana" wrote:
Hi all
i am having application which is using asychronous web request.
At a time i am processing 5 urls asynchronously.
Application working properly for 5 asynchronous call. But sometimes CPU
usage suddently increases to 100 %.
Can some one tell me why this is happening.
Any help will be truely appreciated.
thanks in advance.