Hi,
I am working on web application using C# which send htmlwebrequest at every 5 second to communicator web access server. After some request that communicator web access server is going slow down. So it reply comes slow and my system going to be hang.
Can anybody tell me why that server is going to down?
I userd following code:
requestOutstanding = (HttpWebRequest)WebRequest.Create(m_server + "/cwa/AsyncDataChannel.ashx?AckID=" + ackID + "&Ck=" + userCookieRandomName + "&UA=true");
requestOutstanding.Method = "GET";
requestOutstanding.KeepAlive = false;
requestOutstanding.ConnectionGroupName = m_Uri + "OutstandingGet";
requestOutstanding.UserAgent = userAgent;
requestOutstanding.Accept = "text/json";
requestOutstanding.ContentType = "text/json";
requestOutstanding.CookieContainer = ccContainer;
responseOutstanding = (HttpWebResponse)requestOutstanding.GetResponse();
Please help me.......
Thanks,
Regards,
Hardik Patel
| Copyright © 1996 Meni Milstein. No portion may be reproduced without my written permission. All registered trademarks or trademarks belong to their respective companies. Should any right be infringed, it is unintentional. Let us know and the matter will be rectified. All other contents that may be linked from this site, and or forum posts in this site are not under our immediate control and not our responsibility. We do our best to maintain all the Forums and editing them sometimes takes several days. |